# HG changeset patch # User Matt Mackall # Date 2012-02-26 21:51:56 # Node ID b8c1a8a57540ef994cb1db25960d06b16a68cac6 # Parent 0bb0b9f22cd76281cf8664aae85e2e53c43acd96 copies: fix mergecopies doc mapping direction diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -181,7 +181,7 @@ def mergecopies(repo, c1, c2, ca): Returns two dicts, "copy" and "diverge". - "copy" is a mapping from source name -> destination name, + "copy" is a mapping from destination name -> source name, where source is in c1 and destination is in c2 or vice-versa. "diverge" is a mapping of source name -> list of destination names