changeset 22459:0c7b018d3258

dirstate: copyedit exception for no beginparentchange call
author Siddharth Agarwal <sid0@fb.com>
date Wed, 17 Sep 2014 13:08:03 -0700
parents a476ee0b8e79
children c343557a8442
files mercurial/dirstate.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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]