Rename info lost after repeated amends

Augie Fackler lists at durin42.com
Thu Apr 17 14:28:05 UTC 2014


On Thu, Apr 17, 2014 at 10:17 AM, Greg Ward <greg at gerg.ca> wrote:

> Hi all --
>
> I just got bitten by a bug that I think I have seen before: I'm
> working on a single changeset that reorganizes a project, so there are
> a lot of plain renames and a lot of renames that include small changes
> (update imports, etc.).
>
> I was *scrupulously* careful about using "hg mv". I reviewed "hg diff"
> before every "hg amend" to make sure my renames were being recorded as
> renames.
>
> And yet, reviewing "hg pdiff" before pushing, I find a bunch of my
> renames are no longer renames -- they're just "remove oldname, add
> newname" with no copy information to link the two. ;-( I believe I can
> workaround the problem with "hg rename --after" and another "hg
> amend", but yuck. I shouldn't have to.
>
> Has anyone else seen this? Do I need to work on cooking up a

reproduction script?
>

I've definitely seen this, and I've also seen it happen when doing 'hg
evolve' to move changes onto a new parent.


>        Greg
> _______________________________________________
> Evolve-testers mailing list
> Evolve-testers at selenic.com
> http://selenic.com/mailman/listinfo/evolve-testers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-evolve-testers/attachments/20140417/ae1e0443/attachment-0002.html>


More information about the Evolve-testers mailing list