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:
Siddharth Agarwal 2015-03-29 23:27:25 -07:00
parent 9430b8ddec
commit 0d03b12a57

View File

@ -629,7 +629,7 @@ class dirstate(object):
j += 1
if not files or '.' in files:
files = ['']
files = ['.']
results = dict.fromkeys(subrepos)
results['.hg'] = None