changeset 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 e579687cb5d8
children 10103caea69d
files hgext/purge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]):