Show More
@@ -72,7 +72,7 b' class localrepository(repo.repository):' | |||
|
72 | 72 | if self.ui.configbool('format', 'dotencode', True): |
|
73 | 73 | requirements.append('dotencode') |
|
74 | 74 | # create an invalid changelog |
|
75 |
self. |
|
|
75 | self.vfs.append( | |
|
76 | 76 | "00changelog.i", |
|
77 | 77 | '\0\0\0\2' # represents revlogv2 |
|
78 | 78 | ' dummy changelog to prevent using the old repo layout' |
@@ -86,7 +86,7 b' class localrepository(repo.repository):' | |||
|
86 | 86 | raise error.RepoError(_("repository %s already exists") % path) |
|
87 | 87 | else: |
|
88 | 88 | try: |
|
89 |
requirements = scmutil.readrequires(self. |
|
|
89 | requirements = scmutil.readrequires(self.vfs, self.supported) | |
|
90 | 90 | except IOError, inst: |
|
91 | 91 | if inst.errno != errno.ENOENT: |
|
92 | 92 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now