dirstate: remove obsolete comment from setbranch stable
authorTim Henigan <tim.henigan@gmail.com>
Thu, 29 Nov 2012 08:44:54 -0500
branchstable
changeset 18077 777084ac8416
parent 18076 3bc21f6daac4
child 18078 3d1dc7aeca39
child 18122 730b769fb634
child 18195 db6984048a7b
dirstate: remove obsolete comment from setbranch This comment should have been removed in b74361cf7c0a, when the call to scmutil.checknewlabel was removed.
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Sat Dec 15 20:19:07 2012 +0200
+++ b/mercurial/dirstate.py	Thu Nov 29 08:44:54 2012 -0500
@@ -260,7 +260,6 @@
         return copies
 
     def setbranch(self, branch):
-        # no repo object here, just check for reserved names
         self._branch = encoding.fromlocal(branch)
         f = self._opener('branch', 'w', atomictemp=True)
         try: