Loosing revision history after rename and compress/rebase
Matt Mackall
mpm at selenic.com
Sat Jan 4 00:12:45 UTC 2014
On Fri, 2014-01-03 at 22:53 +0000, Weichelt David J wrote:
> I'm looking for support on this problem we have seen. The scenario was confirmed with other developers and it perhaps needs to be fixed by the Mercurial community... we don't know how to work around this. Not cool to loose revision history from code that we are moving around and changing.
>
> Steps to reproduce:
>
> 1. Have a committed file with a revision history
>
> 2. Hg rename the file from one directory to a new one (with renaming the file in my testing)
>
> 3. Commit the changes
>
> 4. Compress the changes (also can see same problem with rebase)
This is not a term in our jargon. Perhaps you mean rebase --collapse? Or
perhaps the THG project has taken to introducing their own jargon.
> 5. (optional) Strip the original changset that was compressed
>
> 6. Notice that the revision history is missing on the new changeset
Are you saying that the renamed file does not have any evidence of
linkage to the original file? How are you determining this?
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list