Mercurial > public > mercurial-scm > hg
diff mercurial/archival.py @ 6020:20b05618b3e2
merge with crew-stable
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 05 Feb 2008 15:59:10 +0100 |
parents | 111ed8c871bf b70a530bdb93 |
children | 0750e4ba9d3d |
line wrap: on
line diff
--- a/mercurial/archival.py Tue Feb 05 14:34:46 2008 +0100 +++ b/mercurial/archival.py Tue Feb 05 15:59:10 2008 +0100 @@ -208,6 +208,8 @@ archiver.addfile(name, mode, islink, data) ctx = repo.changectx(node) + if kind not in archivers: + raise util.Abort(_("unknown archive type '%s'" % kind)) archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) m = ctx.manifest() items = m.items()