##// END OF EJS Templates
util: sort paths in walkrepos() (fixes test failures in test-hgwebdir)
Dirkjan Ochtman -
r9732:092bcf43 default
parent child Browse files
Show More
@@ -1116,6 +1116,7 b' def walkrepos(path, followsym=False, see'
1116 seen_dirs = []
1116 seen_dirs = []
1117 _add_dir_if_not_there(seen_dirs, path)
1117 _add_dir_if_not_there(seen_dirs, path)
1118 for root, dirs, files in os.walk(path, topdown=True, onerror=errhandler):
1118 for root, dirs, files in os.walk(path, topdown=True, onerror=errhandler):
1119 dirs.sort()
1119 if '.hg' in dirs:
1120 if '.hg' in dirs:
1120 yield root # found a repository
1121 yield root # found a repository
1121 qroot = os.path.join(root, '.hg', 'patches')
1122 qroot = os.path.join(root, '.hg', 'patches')
General Comments 0
You need to be logged in to leave comments. Login now