##// END OF EJS Templates
Fixed directory name having an extra dot on "hg archive -t tbz2 foo.tbz2"....
Thomas Arendsen Hein -
r3615:1d2fdea8 default
parent child Browse files
Show More
@@ -39,7 +39,7 class tarit:
39 39
40 40 def __init__(self, dest, prefix, mtime, kind=''):
41 41 self.prefix = tidyprefix(dest, prefix, ['.tar', '.tar.bz2', '.tar.gz',
42 '.tgz', 'tbz2'])
42 '.tgz', '.tbz2'])
43 43 self.mtime = mtime
44 44 if isinstance(dest, str):
45 45 self.z = tarfile.open(dest, mode='w:'+kind)
General Comments 0
You need to be logged in to leave comments. Login now