mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
dirstate._walkexplicit: indicate root as '.', not ''
'.' is the canonical way to represent the root, and it's apparently the only transformation that normpath makes.
This commit is contained in:
parent
9430b8ddec
commit
0d03b12a57
@ -629,7 +629,7 @@ class dirstate(object):
|
||||
j += 1
|
||||
|
||||
if not files or '.' in files:
|
||||
files = ['']
|
||||
files = ['.']
|
||||
results = dict.fromkeys(subrepos)
|
||||
results['.hg'] = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user