# HG changeset patch # User Martin von Zweigbergk # Date 2019-04-18 04:39:18 # Node ID c361db7a5f14f8f44d348948c038896c596a6542 # Parent d8e55c0c642cf01292c335a6c3939cf024f1a73e copies: remove hack for adding root dir to util.dirs object Differential Revision: https://phab.mercurial-scm.org/D6404 diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -588,9 +588,6 @@ def _fullcopytracing(repo, c1, c2, base) # 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 = {}