Forbidden (or not recommended) characters in branch names

Angel Ezquerra angel.ezquerra at gmail.com
Tue Mar 4 03:54:48 CST 2014


Hi,

Mercurial forbids the use of some characters (':', '\0', '\n', '\r')
on branch names (and other "labels"). Other than those, are there any
characters that should not be used? In particular, is it OK to use
slashes (i.e. "/" or "\") on branch names?

BTW, Mercurial's branch command help does not say anything on the
subject. Perhaps it should mention the characters that should not be
used?

Cheers,

Angel


More information about the Mercurial mailing list