Page MenuHomePhorge

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