mercurial/obsolete.py
branchstable
changeset 17253 67f56ff5afcd
parent 17220 bdac214a4705
child 17295 1f08ecc7febb
--- a/mercurial/obsolete.py	Tue Jul 24 21:20:56 2012 +0200
+++ b/mercurial/obsolete.py	Thu Jul 26 16:21:43 2012 +0200
@@ -96,7 +96,7 @@
         if len(metadata) != mdsize:
             raise util.Abort(_('parsing obsolete marker: metadata is too '
                                'short, %d bytes expected, got %d')
-                             % (len(metadata), mdsize))
+                             % (mdsize, len(metadata)))
         off += mdsize
         yield (pre, sucs, flags, metadata)