From 0d03b12a578c6b49347ff55fa8ca0d8908d92755 Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Sun, 29 Mar 2015 23:27:25 -0700 Subject: [PATCH] dirstate._walkexplicit: indicate root as '.', not '' '.' is the canonical way to represent the root, and it's apparently the only transformation that normpath makes. --- mercurial/dirstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py index 6098fda27f..1689151b7e 100644 --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -629,7 +629,7 @@ class dirstate(object): j += 1 if not files or '.' in files: - files = [''] + files = ['.'] results = dict.fromkeys(subrepos) results['.hg'] = None