diff mercurial/changelog.py @ 4258:b11a2fb59cf5

revlog: simplify revlog version handling - pass the default version as an attribute on the opener - eliminate config option mess
author Matt Mackall <mpm@selenic.com>
date Thu, 22 Mar 2007 19:52:38 -0500
parents 1b5c38e9d7aa
children cd7b36b7869c
line wrap: on
line diff
--- a/mercurial/changelog.py	Thu Mar 22 19:12:03 2007 -0500
+++ b/mercurial/changelog.py	Thu Mar 22 19:52:38 2007 -0500
@@ -27,8 +27,8 @@
     return text.decode('string_escape')
 
 class changelog(revlog):
-    def __init__(self, opener, defversion=REVLOGV0):
-        revlog.__init__(self, opener, "00changelog.i", defversion)
+    def __init__(self, opener):
+        revlog.__init__(self, opener, "00changelog.i")
 
     def decode_extra(self, text):
         extra = {}