Patchwork [6,of,8] match: drop dir callback

login
register
mail settings
Submitter Siddharth Agarwal
Date May 3, 2013, 10:05 p.m.
Message ID <7865345801e07b35d160.1367618747@sid0x220>
Download mbox | patch
Permalink /patch/1551/
State Accepted
Commit aed8ec10c235b4515e6aabe825bd5bdad4b4072b
Headers show

Comments

Siddharth Agarwal - May 3, 2013, 10:05 p.m.
# HG changeset patch
# User Siddharth Agarwal <sid0@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.

Patch

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):