mercurial/dirstate.py
changeset 17821 361ab1e2086f
parent 17819 ec892050f3c7
child 17879 7b0b1da49f15
--- a/mercurial/dirstate.py	Wed Oct 17 21:39:07 2012 -0500
+++ b/mercurial/dirstate.py	Wed Oct 17 21:42:06 2012 -0500
@@ -261,7 +261,7 @@
 
     def setbranch(self, branch):
         # no repo object here, just check for reserved names
-        scmutil.checknewlabel(None, branch)
+        scmutil.checknewlabel(None, branch, 'branch')
         self._branch = encoding.fromlocal(branch)
         f = self._opener('branch', 'w', atomictemp=True)
         try: