Corrected error message for incompatible revision flags.
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 27 Apr 2006 21:03:07 +0200
changeset 2141 ed631e83fa06
parent 2140 6447a32aefce
child 2142 8a1e2a9c7013
Corrected error message for incompatible revision flags.
mercurial/revlog.py
--- a/mercurial/revlog.py	Thu Apr 27 13:11:23 2006 +0200
+++ b/mercurial/revlog.py	Thu Apr 27 21:03:07 2006 +0200
@@ -399,7 +399,7 @@
     def ngoffset(self, q):
         if q & 0xFFFF:
             raise RevlogError(_('%s: incompatible revision flag %x') %
-                               (self.indexfile, type))
+                              (self.indexfile, q))
         return long(q >> 16)
 
     def ngtype(self, q):