changeset 19:1267b1944cd7

Killed some dead code found by test coverage.
author Augie Fackler <durin42@gmail.com>
date Wed, 08 Oct 2008 16:44:05 -0500
parents f4c751037a4a
children 2953c867ca99
files util.py
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/util.py
+++ b/util.py
@@ -18,18 +18,3 @@ def wipe_all_files(hg_wc_path):
             shutil.rmtree(f)
         else:
             os.remove(f)
-
-
-def remove_all_files_with_status(path, rev_paths, strip_path, status):
-    for p in rev_paths:
-        if rev_paths[p].action == status:
-            if p.startswith(strip_path):
-                fi = p[len(strip_path)+1:]
-                if len(fi) > 0:
-                    fi = os.path.join(path, fi)
-                    if os.path.isfile(fi):
-                        os.remove(fi)
-                        print 'D %s' % fi
-                    elif os.path.isdir(fi):
-                        shutil.rmtree(fi)
-                        print 'D %s' % fi