# HG changeset patch # User Siddharth Agarwal # Date 1427696845 25200 # Node ID 489026bffbf60691d6c3d97287003a03dfdc4691 # Parent 34e8bfc21f944c3d42c6184ee9537f35db1afa15 dirstate._walkexplicit: indicate root as '.', not '' '.' is the canonical way to represent the root, and it's apparently the only transformation that normpath makes. diff -r 34e8bfc21f94 -r 489026bffbf6 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