Show More
@@ -7,12 +7,11 b'' | |||
|
7 | 7 | # GNU General Public License version 2 or any later version. |
|
8 | 8 | |
|
9 | 9 | |
|
10 |
from mercurial import |
|
|
11 | import os | |
|
10 | from mercurial import hg, changegroup, localrepo | |
|
12 | 11 | |
|
13 | 12 | def compress(ui, repo, dest): |
|
14 |
dest = |
|
|
15 |
target = localrepo.instance(ui, dest, create= |
|
|
13 | dest = hg.localpath(ui.expandpath(dest)) | |
|
14 | target = localrepo.instance(ui, dest, create=True) | |
|
16 | 15 | tr = target.transaction("compress") |
|
17 | 16 | src_cl = repo.changelog |
|
18 | 17 | tar_cl = target.changelog |
General Comments 0
You need to be logged in to leave comments.
Login now