Show More
@@ -14,6 +14,7 b' from .i18n import _' | |||||
14 | from . import ( |
|
14 | from . import ( | |
15 | changelog, |
|
15 | changelog, | |
16 | error, |
|
16 | error, | |
|
17 | filelog, | |||
17 | hg, |
|
18 | hg, | |
18 | localrepo, |
|
19 | localrepo, | |
19 | manifest, |
|
20 | manifest, | |
@@ -413,9 +414,8 b' def _revlogfrompath(repo, path):' | |||||
413 | mandir = path[:-len('00manifest.i')] |
|
414 | mandir = path[:-len('00manifest.i')] | |
414 | return manifest.manifestrevlog(repo.svfs, dir=mandir) |
|
415 | return manifest.manifestrevlog(repo.svfs, dir=mandir) | |
415 | else: |
|
416 | else: | |
416 | # Filelogs don't do anything special with settings. So we can use a |
|
417 | #reverse of "/".join(("data", path + ".i")) | |
417 | # vanilla revlog. |
|
418 | return filelog.filelog(repo.svfs, path[5:-2]) | |
418 | return revlog.revlog(repo.svfs, path) |
|
|||
419 |
|
419 | |||
420 | def _copyrevlogs(ui, srcrepo, dstrepo, tr, deltareuse, aggressivemergedeltas): |
|
420 | def _copyrevlogs(ui, srcrepo, dstrepo, tr, deltareuse, aggressivemergedeltas): | |
421 | """Copy revlogs between 2 repos.""" |
|
421 | """Copy revlogs between 2 repos.""" |
General Comments 0
You need to be logged in to leave comments.
Login now