dirstate: copyedit exception for no beginparentchange call
authorSiddharth Agarwal <sid0@fb.com>
Wed, 17 Sep 2014 13:08:03 -0700
changeset 22459 0c7b018d3258
parent 22458 a476ee0b8e79
child 22460 c343557a8442
dirstate: copyedit exception for no beginparentchange call
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Sun Sep 07 11:33:22 2014 -0700
+++ b/mercurial/dirstate.py	Wed Sep 17 13:08:03 2014 -0700
@@ -257,8 +257,8 @@
         See localrepo.setparents()
         """
         if self._parentwriters == 0:
-            raise ValueError("cannot set dirstate parent without " +
-                " calling dirstate.begingparentchange")
+            raise ValueError("cannot set dirstate parent without "
+                             "calling dirstate.beginparentchange")
 
         self._dirty = self._dirtypl = True
         oldp2 = self._pl[1]