changeset 6747 | f6c00b17387c |
parent 6498 | 315548fcc76b |
child 6749 | 51b0e799352f |
--- a/mercurial/archival.py Thu Jun 26 13:58:24 2008 -0500 +++ b/mercurial/archival.py Thu Jun 26 14:35:46 2008 -0500 @@ -208,7 +208,7 @@ data = repo.wwritedata(name, data) archiver.addfile(name, mode, islink, data) - ctx = repo.changectx(node) + ctx = repo[node] if kind not in archivers: raise util.Abort(_("unknown archive type '%s'" % kind)) archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0])