##// END OF EJS Templates
contrib/compress: correct ordering of copying...
Benoit Boissinot -
r12021:42253a4d default
parent child Browse files
Show More
@@ -36,7 +36,6 b' def compress(ui, repo, dest):'
36 tr = target.transaction("compress")
36 tr = target.transaction("compress")
37 trp = weakref.proxy(tr)
37 trp = weakref.proxy(tr)
38
38
39 _copyrevlog(ui, repo.changelog, target.changelog, trp, 'changesets')
40 _copyrevlog(ui, repo.manifest, target.manifest, trp, 'manifest')
39 _copyrevlog(ui, repo.manifest, target.manifest, trp, 'manifest')
41
40
42 # only keep indexes and filter "data/" prefix and ".i" suffix
41 # only keep indexes and filter "data/" prefix and ".i" suffix
@@ -48,6 +47,8 b' def compress(ui, repo, dest):'
48 ui.progress(('adding files'), cnt, item=f, unit=('file'),
47 ui.progress(('adding files'), cnt, item=f, unit=('file'),
49 total=total)
48 total=total)
50
49
50 _copyrevlog(ui, repo.changelog, target.changelog, trp, 'changesets')
51
51 tr.close()
52 tr.close()
52 finally:
53 finally:
53 if tr:
54 if tr:
General Comments 0
You need to be logged in to leave comments. Login now