changeset 19144:facd906caeeb

match: add comments to explain explicitdir and traversedir
author Siddharth Agarwal <sid0@fb.com>
date Fri, 03 May 2013 15:36:18 -0700
parents 3cb9468535bd
children a718a0ba6787
files mercurial/match.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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