diff util.py @ 275:68aea59116b6

util: kill unused function
author Augie Fackler <durin42@gmail.com>
date Fri, 24 Apr 2009 20:25:14 -0500
parents 9f0738587f94
children 8ff0b3261b7f
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 = {}