Show More
@@ -391,7 +391,7 b' class dirstate(object):' | |||||
391 |
|
391 | |||
392 | # self.root may end with a path separator when self.root == '/' |
|
392 | # self.root may end with a path separator when self.root == '/' | |
393 | common_prefix_len = len(self.root) |
|
393 | common_prefix_len = len(self.root) | |
394 |
if not self.root.endswith( |
|
394 | if not self.root.endswith(os.sep): | |
395 | common_prefix_len += 1 |
|
395 | common_prefix_len += 1 | |
396 | # recursion free walker, faster than os.walk. |
|
396 | # recursion free walker, faster than os.walk. | |
397 | def findfiles(s): |
|
397 | def findfiles(s): |
General Comments 0
You need to be logged in to leave comments.
Login now