changeset 24521:489026bffbf6

dirstate._walkexplicit: indicate root as '.', not '' '.' is the canonical way to represent the root, and it's apparently the only transformation that normpath makes.
author Siddharth Agarwal <sid0@fb.com>
date Sun, 29 Mar 2015 23:27:25 -0700
parents 34e8bfc21f94
children 18085e46caa9
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Mon Mar 30 12:57:55 2015 -0700
+++ b/mercurial/dirstate.py	Sun Mar 29 23:27:25 2015 -0700
@@ -629,7 +629,7 @@
             j += 1
 
         if not files or '.' in files:
-            files = ['']
+            files = ['.']
         results = dict.fromkeys(subrepos)
         results['.hg'] = None