Numerical branch name interpreted as a cset number

Tom Fox foxdropbox at gmail.com
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?

Thanks,
Tom

--
View this message in context: http://mercurial.808500.n3.nabble.com/Numerical-branch-name-interpreted-as-a-cset-number-tp3574350p3574350.html
Sent from the General mailing list archive at Nabble.com.


More information about the Mercurial mailing list