mercurial/dirstate.py
branchstable
changeset 17984 b74361cf7c0a
parent 17879 7b0b1da49f15
child 17987 1683bca31752
child 18076 3bc21f6daac4
--- a/mercurial/dirstate.py	Wed Nov 28 11:20:56 2012 +0100
+++ b/mercurial/dirstate.py	Tue Nov 27 08:47:35 2012 -0500
@@ -261,7 +261,6 @@
 
     def setbranch(self, branch):
         # no repo object here, just check for reserved names
-        scmutil.checknewlabel(None, branch, 'branch')
         self._branch = encoding.fromlocal(branch)
         f = self._opener('branch', 'w', atomictemp=True)
         try: