Submitter | Pierre-Yves David |
---|---|
Date | Dec. 2, 2019, 11:28 a.m. |
Message ID | <2671000fb23f978fbacb.1575286097@nodosa.octobus.net> |
Download | mbox | patch |
Permalink | /patch/43556/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -67,7 +67,7 @@ def _chain(a, b): """chain two sets of copies 'a' and 'b'""" t = a.copy() for k, v in pycompat.iteritems(b): - t[k] = t.get(v, v) + t[k] = a.get(v, v) return t