Loosing revision history after rename and compress/rebase

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sat Jan 4 00:17:53 UTC 2014


On 01/03/2014 02:53 PM, 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)
>

What do you mean by "compressing the change" ?

What kind of rebase command are you typing ?

> 5.(optional) Strip the original changset that was compressed
>
> 6.Notice that the revision history is missing on the new changeset
>

Do you mean that a log for the file is not including older revision for 
the previous name?


-- 
Pierre-Yves David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140103/34e6b271/attachment-0002.html>


More information about the Mercurial mailing list