This commit is contained in:
Barış Metin
2005-09-28 14:11:42 +00:00
parent 28e1fc0ec8
commit 6b031d2ad4
+5 -1
View File
@@ -365,9 +365,13 @@ def strip_directory(top, excludelist=[]):
for exclude in excludelist: for exclude in excludelist:
if p.startswith(exclude): if p.startswith(exclude):
strip = False strip = False
ctx.ui.debug("%s [%s]" %(p, "NoStrip"))
if strip: if strip:
strip_file(frpath) if strip_file(frpath):
print p, "strip"
ctx.ui.debug("%s [%s]" %(p, "stripped"))
def strip_file(filepath): def strip_file(filepath):
"""strip a file""" """strip a file"""