Mercurial > public > mercurial-scm > hg
comparison mercurial/statichttprepo.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 | 6b4127c7d52a |
children | 63b9d2deed48 |
comparison
equal
deleted
inserted
replaced
4257:1b5c38e9d7aa | 4258:b11a2fb59cf5 |
---|---|
30 | 30 |
31 class statichttprepository(localrepo.localrepository): | 31 class statichttprepository(localrepo.localrepository): |
32 def __init__(self, ui, path): | 32 def __init__(self, ui, path): |
33 self._url = path | 33 self._url = path |
34 self.ui = ui | 34 self.ui = ui |
35 self.revlogversion = 0 | |
36 | 35 |
37 self.path = (path + "/.hg") | 36 self.path = (path + "/.hg") |
38 self.opener = opener(self.path) | 37 self.opener = opener(self.path) |
39 # find requirements | 38 # find requirements |
40 try: | 39 try: |