Mercurial > hg
comparison mercurial/archival.py @ 8312:b87a50b7125c
separate import lines from mercurial and general python modules
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 28 Apr 2009 17:40:46 +0200 |
parents | 46293a0c7e9f |
children | f9a80054dd3c |
comparison
equal
deleted
inserted
replaced
8311:e0eb03bfa5af | 8312:b87a50b7125c |
---|---|
5 # This software may be used and distributed according to the terms of the | 5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2, incorporated herein by reference. | 6 # GNU General Public License version 2, incorporated herein by reference. |
7 | 7 |
8 from i18n import _ | 8 from i18n import _ |
9 from node import hex | 9 from node import hex |
10 import cStringIO, os, stat, tarfile, time, util, zipfile | 10 import util |
11 import cStringIO, os, stat, tarfile, time, zipfile | |
11 import zlib, gzip | 12 import zlib, gzip |
12 | 13 |
13 def tidyprefix(dest, prefix, suffixes): | 14 def tidyprefix(dest, prefix, suffixes): |
14 '''choose prefix to use for names in archive. make sure prefix is | 15 '''choose prefix to use for names in archive. make sure prefix is |
15 safe for consumers.''' | 16 safe for consumers.''' |