merge: fix lack of "%s" in format string causing TypeError at runtime stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Tue, 01 Apr 2014 02:46:03 +0900
branchstable
changeset 20867 539d9f839197
parent 20866 93f573d1bfb9
child 20868 5db105f216c3
merge: fix lack of "%s" in format string causing TypeError at runtime
mercurial/merge.py
--- a/mercurial/merge.py	Tue Apr 01 13:27:12 2014 -0300
+++ b/mercurial/merge.py	Tue Apr 01 02:46:03 2014 +0900
@@ -70,7 +70,7 @@
                 bits = record.split("\0")
                 self._state[bits[0]] = bits[1:]
             elif not rtype.islower():
-                raise util.Abort(_('unsupported merge state record:'
+                raise util.Abort(_('unsupported merge state record: %s'
                                    % rtype))
         self._dirty = False
     def _readrecords(self):