dirstate._walkexplicit: indicate root as '.', not ''
authorSiddharth Agarwal <sid0@fb.com>
Sun, 29 Mar 2015 23:27:25 -0700
changeset 24521 489026bffbf6
parent 24520 34e8bfc21f94
child 24522 18085e46caa9
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
--- 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