Show More
@@ -208,6 +208,8 b' def archive(repo, dest, node, kind, deco' | |||||
208 | archiver.addfile(name, mode, islink, data) |
|
208 | archiver.addfile(name, mode, islink, data) | |
209 |
|
209 | |||
210 | ctx = repo.changectx(node) |
|
210 | ctx = repo.changectx(node) | |
|
211 | if kind not in archivers: | |||
|
212 | raise util.Abort(_("unknown archive type '%s'" % kind)) | |||
211 | archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) |
|
213 | archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) | |
212 | m = ctx.manifest() |
|
214 | m = ctx.manifest() | |
213 | items = m.items() |
|
215 | items = m.items() |
General Comments 0
You need to be logged in to leave comments.
Login now