[PATCH evolve-ext] uncommit: don't lose copy information of remaining files (issue5403)
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Wed Feb 1 14:04:05 UTC 2017
On 01/31/2017 09:33 PM, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1485894765 28800
> # Tue Jan 31 12:32:45 2017 -0800
> # Node ID bec8f8f2c0792eacb997652eb6f74b47ad8baf66
> # Parent f22120b12715d7398b14c491ef89a0fa26e51533
> uncommit: don't lose copy information of remaining files (issue5403)
>
> As reported in the issue, "hg uncommit" would lose copy information of
> the files that remained in the commit. The problem was simply that the
> a dict of copies was iterated as "src, dst in copies.items()" where it
> should have been "dst, src ...".
Pushed, thanks for the fix.
--
Pierre-Yves David
More information about the Mercurial-devel
mailing list