changeset 42344:c361db7a5f14

copies: remove hack for adding root dir to util.dirs object Differential Revision: https://phab.mercurial-scm.org/D6404
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 17 Apr 2019 21:39:18 -0700
parents d8e55c0c642c
children 7d4ee14ff92d
files mercurial/copies.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 = {}