[PATCH 6 of 8] match: drop dir callback

Siddharth Agarwal sid0 at fb.com
Fri May 3 17:05:47 CDT 2013


# HG changeset patch
# User Siddharth Agarwal <sid0 at fb.com>
# Date 1367209772 25200
#      Sun Apr 28 21:29:32 2013 -0700
# Node ID 7865345801e07b35d16073bc82913919f986206f
# Parent  7a1c5a9314866b55d51306182cae047d66c74151
match: drop dir callback

dir has been subsumed by explicitdir and traversedir.

diff -r 7a1c5a931486 -r 7865345801e0 mercurial/match.py
--- a/mercurial/match.py	Sun Apr 28 21:28:31 2013 -0700
+++ b/mercurial/match.py	Sun Apr 28 21:29:32 2013 -0700
@@ -119,12 +119,10 @@ class match(object):
         found/accessed, with an error message
         '''
         pass
-    def dir(self, f):
+    def explicitdir(self, f):
         pass
-    def explicitdir(self, f):
-        self.dir(f)
     def traversedir(self, f):
-        self.dir(f)
+        pass
     def missing(self, f):
         pass
     def exact(self, f):


More information about the Mercurial-devel mailing list