Show More
@@ -2608,7 +2608,7 b' def debugpathcomplete(ui, repo, *specs, ' | |||||
2608 | files, dirs = set(), set() |
|
2608 | files, dirs = set(), set() | |
2609 | adddir, addfile = dirs.add, files.add |
|
2609 | adddir, addfile = dirs.add, files.add | |
2610 | for f, st in pycompat.iteritems(dirstate): |
|
2610 | for f, st in pycompat.iteritems(dirstate): | |
2611 |
if f.startswith(spec) and st |
|
2611 | if f.startswith(spec) and st.state in acceptable: | |
2612 | if fixpaths: |
|
2612 | if fixpaths: | |
2613 | f = f.replace(b'/', pycompat.ossep) |
|
2613 | f = f.replace(b'/', pycompat.ossep) | |
2614 | if fullpaths: |
|
2614 | if fullpaths: |
General Comments 0
You need to be logged in to leave comments.
Login now