mercurial/dirstate.py
changeset 2063 f1fda71e134e
parent 2062 5460f0196f77
child 2393 5083cba2a777
--- a/mercurial/dirstate.py	Thu Apr 13 12:44:40 2006 -0700
+++ b/mercurial/dirstate.py	Thu Apr 13 13:46:05 2006 -0700
@@ -345,6 +345,9 @@
                 if nd == '.':
                     nd = ''
                 else:
+                    # do not recurse into a repo contained in this
+                    # one. use bisect to find .hg directory so speed
+                    # is good on big directory.
                     hg = bisect.bisect_left(names, '.hg')
                     if hg < len(names) and names[hg] == '.hg':
                         if os.path.isdir(os.path.join(top, '.hg')):