match: add comments to explain explicitdir and traversedir
authorSiddharth Agarwal <sid0@fb.com>
Fri, 03 May 2013 15:36:18 -0700
changeset 19144 facd906caeeb
parent 19143 3cb9468535bd
child 19146 a718a0ba6787
match: add comments to explain explicitdir and traversedir
mercurial/match.py
--- a/mercurial/match.py	Fri May 03 14:41:58 2013 -0700
+++ b/mercurial/match.py	Fri May 03 15:36:18 2013 -0700
@@ -119,7 +119,11 @@
         found/accessed, with an error message
         '''
         pass
+    # If this is set, it will be called when an explicitly listed directory is
+    # visited.
     explicitdir = None
+    # If this is set, it will be called when a directory discovered by recursive
+    # traversal is visited.
     traversedir = None
     def missing(self, f):
         pass