Escaping characters for hg update?
Augie Fackler
raf at durin42.com
Sun Nov 18 19:25:56 UTC 2012
On Nov 18, 2012, at 12:41 PM, v <voldermort at hotmail.com> wrote:
> hg 2.3.1 on Windows 7 x64
>
> I just tried again with all extensions disabled, and get this:
>
> hg init foo
> cd foo
>
> hg branch "a a"
> marked working directory as branch a a
> (branches are permanent and global, did you want a bookmark?)
>
> hg up "a a"
> hg: parse error at 2: invalid token
hg up '"a a"' # the outer ' quotes for the shell, the inner " quotes for the revset parser
Similar tricks should work for all these cases.
>
> hg branch "a,a"
> marked working directory as branch a,a
> (branches are permanent and global, did you want a bookmark?)
>
> hg up "a,a"
> hg: parse error: can't use a list in this context
>
> hg branch "a:a"
> marked working directory as branch a:a
> (branches are permanent and global, did you want a bookmark?)
>
> hg up "a:a"
> abort: unknown revision 'a'!
>
>
>
> --
> View this message in context: http://mercurial.808500.n3.nabble.com/Escaping-characters-for-hg-update-tp3994992p3994994.html
> Sent from the General mailing list archive at Nabble.com.
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
More information about the Mercurial
mailing list