Show More
@@ -1704,11 +1704,9 b' def walkrepos(path):' | |||
|
1704 | 1704 | raise err |
|
1705 | 1705 | |
|
1706 | 1706 | for root, dirs, files in os.walk(path, onerror=errhandler): |
|
1707 |
f |
|
|
1708 | if d == '.hg': | |
|
1709 |
|
|
|
1710 | dirs[:] = [] | |
|
1711 | break | |
|
1707 | if '.hg' in dirs: | |
|
1708 | dirs[:] = [] # don't descend further | |
|
1709 | yield root # found a repository | |
|
1712 | 1710 | |
|
1713 | 1711 | _rcpath = None |
|
1714 | 1712 |
General Comments 0
You need to be logged in to leave comments.
Login now