Mercurial > public > mercurial-scm > hg-stable
diff hgext/purge.py @ 19139:31c863bd21e8
purge: hook into match.explicitdir and traversedir
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sun, 28 Apr 2013 21:27:57 -0700 |
parents | 9efe4a95c099 |
children | f1c3ba167b0c |
line wrap: on
line diff
--- a/hgext/purge.py Sun Apr 28 21:27:21 2013 -0700 +++ b/hgext/purge.py Sun Apr 28 21:27:57 2013 -0700 @@ -97,7 +97,7 @@ directories = [] match = scmutil.match(repo[None], dirs, opts) - match.dir = directories.append + match.explicitdir = match.traversedir = directories.append status = repo.status(match=match, ignored=opts['all'], unknown=True) for f in sorted(status[4] + status[5]):