Mercurial > hg
changeset 3615:1d2fdea875bc
Fixed directory name having an extra dot on "hg archive -t tbz2 foo.tbz2".
Problem reported by Rob Landley.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 02 Nov 2006 19:23:55 +0100 |
parents | fd7a018b7db7 |
children | cf001fb04109 |
files | mercurial/archival.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/archival.py Thu Nov 02 15:30:45 2006 +0100 +++ b/mercurial/archival.py Thu Nov 02 19:23:55 2006 +0100 @@ -39,7 +39,7 @@ def __init__(self, dest, prefix, mtime, kind=''): self.prefix = tidyprefix(dest, prefix, ['.tar', '.tar.bz2', '.tar.gz', - '.tgz', 'tbz2']) + '.tgz', '.tbz2']) self.mtime = mtime if isinstance(dest, str): self.z = tarfile.open(dest, mode='w:'+kind)