##// END OF EJS Templates
purge: hook into match.explicitdir and traversedir
Siddharth Agarwal -
r19139:31c863bd default
parent child Browse files
Show More
@@ -97,7 +97,7 b' def purge(ui, repo, *dirs, **opts):'
97
97
98 directories = []
98 directories = []
99 match = scmutil.match(repo[None], dirs, opts)
99 match = scmutil.match(repo[None], dirs, opts)
100 match.dir = directories.append
100 match.explicitdir = match.traversedir = directories.append
101 status = repo.status(match=match, ignored=opts['all'], unknown=True)
101 status = repo.status(match=match, ignored=opts['all'], unknown=True)
102
102
103 for f in sorted(status[4] + status[5]):
103 for f in sorted(status[4] + status[5]):
General Comments 0
You need to be logged in to leave comments. Login now