Show More
@@ -345,6 +345,9 b' class dirstate(object):' | |||||
345 | if nd == '.': |
|
345 | if nd == '.': | |
346 | nd = '' |
|
346 | nd = '' | |
347 | else: |
|
347 | else: | |
|
348 | # do not recurse into a repo contained in this | |||
|
349 | # one. use bisect to find .hg directory so speed | |||
|
350 | # is good on big directory. | |||
348 | hg = bisect.bisect_left(names, '.hg') |
|
351 | hg = bisect.bisect_left(names, '.hg') | |
349 | if hg < len(names) and names[hg] == '.hg': |
|
352 | if hg < len(names) and names[hg] == '.hg': | |
350 | if os.path.isdir(os.path.join(top, '.hg')): |
|
353 | if os.path.isdir(os.path.join(top, '.hg')): |
General Comments 0
You need to be logged in to leave comments.
Login now