Mercurial > hgsubversion
changeset 275:68aea59116b6
util: kill unused function
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Fri, 24 Apr 2009 20:25:14 -0500 |
| parents | a119ab6135f3 |
| children | b45bae16be32 |
| files | util.py |
| diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/util.py +++ b/util.py @@ -29,15 +29,6 @@ def normalize_url(svnurl): return svnurl.rstrip('/') -def wipe_all_files(hg_wc_path): - files = [f for f in os.listdir(hg_wc_path) if f != '.hg'] - for f in files: - f = os.path.join(hg_wc_path, f) - if os.path.isdir(f): - shutil.rmtree(f) - else: - os.remove(f) - REVMAP_FILE_VERSION = 1 def parse_revmap(revmap_filename): revmap = {}
