mercurial/filelog.py
changeset 2072 74d3f5336b66
parent 1595 dca956c9767d
child 2222 c9e264b115e6
--- a/mercurial/filelog.py	Mon Apr 03 10:02:09 2006 -0700
+++ b/mercurial/filelog.py	Tue Apr 04 16:38:43 2006 -0400
@@ -11,10 +11,11 @@
 demandload(globals(), "bdiff")
 
 class filelog(revlog):
-    def __init__(self, opener, path):
+    def __init__(self, opener, path, defversion=0):
         revlog.__init__(self, opener,
                         os.path.join("data", self.encodedir(path + ".i")),
-                        os.path.join("data", self.encodedir(path + ".d")))
+                        os.path.join("data", self.encodedir(path + ".d")),
+                        defversion)
 
     # This avoids a collision between a file named foo and a dir named
     # foo.i or foo.d