dirstate: remove obsolete comment from setbranch
authorTim Henigan <tim.henigan@gmail.com>
Thu, 29 Nov 2012 08:44:54 -0500
changeset 17987 1683bca31752
parent 17986 e853d27956fb
child 17989 e8c9b13c7799
dirstate: remove obsolete comment from setbranch This comment should have been removed in e689b0d91546, when the call to scmutil.checknewlabel was removed.
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Wed Nov 28 18:08:51 2012 -0600
+++ 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: