# HG changeset patch # User Augie Fackler # Date 1223502245 18000 # Node ID 1267b1944cd747afaaf1f77d91ec74236d931b63 # Parent f4c751037a4a112307b12bcba9f862f65becbdb0 Killed some dead code found by test coverage. diff --git a/util.py b/util.py --- 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