equal
deleted
inserted
replaced
206 data = getdata() |
206 data = getdata() |
207 if decode: |
207 if decode: |
208 data = repo.wwritedata(name, data) |
208 data = repo.wwritedata(name, data) |
209 archiver.addfile(name, mode, islink, data) |
209 archiver.addfile(name, mode, islink, data) |
210 |
210 |
211 ctx = repo.changectx(node) |
211 ctx = repo[node] |
212 if kind not in archivers: |
212 if kind not in archivers: |
213 raise util.Abort(_("unknown archive type '%s'" % kind)) |
213 raise util.Abort(_("unknown archive type '%s'" % kind)) |
214 archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) |
214 archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) |
215 m = ctx.manifest() |
215 m = ctx.manifest() |
216 items = m.items() |
216 items = m.items() |