Show More
@@ -50,7 +50,10 b' class localrepository(repo.repository):' | |||||
50 | reqfile.write("%s\n" % r) |
|
50 | reqfile.write("%s\n" % r) | |
51 | reqfile.close() |
|
51 | reqfile.close() | |
52 | # create an invalid changelog |
|
52 | # create an invalid changelog | |
53 |
self.opener("00changelog.i", "a").write( |
|
53 | self.opener("00changelog.i", "a").write( | |
|
54 | '\0\0\0\2' # represents revlogv2 | |||
|
55 | ' dummy changelog to prevent using the old repo layout' | |||
|
56 | ) | |||
54 | else: |
|
57 | else: | |
55 | raise repo.RepoError(_("repository %s not found") % path) |
|
58 | raise repo.RepoError(_("repository %s not found") % path) | |
56 | elif create: |
|
59 | elif create: |
General Comments 0
You need to be logged in to leave comments.
Login now