Show More
@@ -159,10 +159,9 b' def archive(repo, dest, node, kind, deco' | |||||
159 | data = fp.getvalue() |
|
159 | data = fp.getvalue() | |
160 | archiver.addfile(name, mode, data) |
|
160 | archiver.addfile(name, mode, data) | |
161 |
|
161 | |||
162 |
c |
|
162 | ctx = repo.changectx(node) | |
163 | mn = change[0] |
|
163 | archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) | |
164 | archiver = archivers[kind](dest, prefix, mtime or change[2][0]) |
|
164 | m = ctx.manifest() | |
165 | m = repo.manifest.read(mn) |
|
|||
166 | items = m.items() |
|
165 | items = m.items() | |
167 | items.sort() |
|
166 | items.sort() | |
168 | write('.hg_archival.txt', 0644, |
|
167 | write('.hg_archival.txt', 0644, |
General Comments 0
You need to be logged in to leave comments.
Login now