copies: remove hack for adding root dir to util.dirs object
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 17 Apr 2019 21:39:18 -0700
changeset 42344 c361db7a5f14
parent 42343 d8e55c0c642c
child 42345 7d4ee14ff92d
copies: remove hack for adding root dir to util.dirs object Differential Revision: https://phab.mercurial-scm.org/D6404
mercurial/copies.py
--- a/mercurial/copies.py	Tue May 16 11:00:38 2017 -0700
+++ b/mercurial/copies.py	Wed Apr 17 21:39:18 2019 -0700
@@ -588,9 +588,6 @@
 
     # generate a directory move map
     d1, d2 = c1.dirs(), c2.dirs()
-    # Hack for adding '', which is not otherwise added, to d1 and d2
-    d1.addpath('/')
-    d2.addpath('/')
     invalid = set()
     dirmove = {}