diff mercurial/revlog.py @ 3746:a095c13c173c

merge with upstream
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 01 Dec 2006 13:11:09 +0100
parents 3a099154b110
children cd25a4a1a265
line wrap: on
line diff
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -355,14 +355,14 @@ class revlog(object):
         fmt = v & 0xFFFF
         if fmt == REVLOGV0:
             if flags:
-                raise RevlogError(_("index %s invalid flags %x for format v0")
+                raise RevlogError(_("index %s unknown flags %x for format v0")
                                   % (self.indexfile, flags))
         elif fmt == REVLOGNG:
             if flags & ~REVLOGNGINLINEDATA:
-                raise RevlogError(_("index %s invalid flags %x for revlogng")
+                raise RevlogError(_("index %s unknown flags %x for revlogng")
                                   % (self.indexfile, flags))
         else:
-            raise RevlogError(_("index %s invalid format %d")
+            raise RevlogError(_("index %s unknown format %d")
                               % (self.indexfile, fmt))
         self.version = v
         if v == REVLOGV0: