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