diff -r 1dca460e7d1e -r f6c00b17387c mercurial/archival.py --- 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])