Numerical branch name interpreted as a cset number

Tom Fox foxdropbox at
Fri Dec 9 17:00:43 CST 2011

My company interchangeably uses Mercurial and Git.  It became policy to use
branches in Git that are numbers like "111".  This policy has shifted to
Mercurial as well.  Unfortunately, in Mercurial these branch names will be
interpreted as a cset number if such a cset number exists (e.g. hg heads -r
111).  Is there a way to force a revision reference to look for a matching
branch before it looks for an existing cset number?  Or better yet, is there
a way to say this IS a branch reference?


View this message in context:
Sent from the General mailing list archive at

More information about the Mercurial mailing list