function hgsprintf($pattern)Arcanist Technical Documentation ()
function hgsprintf($pattern)
Arcanist Technical Documentation ()
Format a Mercurial revset expression. Supports the following conversions:
%s Symbol
Escapes a Mercurial symbol, like a branch or bookmark name.
%R Rrraw Rreferrrence / Rrrrevset
Passes text through unescaped (e.g., an already-escaped revset).
Parameters
$pattern |
Return
wild |
- Defined
- src/xsprintf/hgsprintf.php:12