changeset 2141:ed631e83fa06

Corrected error message for incompatible revision flags.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 27 Apr 2006 21:03:07 +0200
parents 6447a32aefce
children 8a1e2a9c7013
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):