move file but keep history
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Wed Sep 17 11:52:27 UTC 2014
On 09/17/2014 04:48 AM, hg user wrote:
>
> I need to move a file from a directory to another and I'd like to be
> able to have the change tracked and past versions available...
>
> I tried hg rename but it doesn't keep history...
>
> hg glog newname reports only the move commit
> hg glog oldname reports only the old commits...
>
> Is there a way to link the two files history?
have a look at the `--follow` flag for hg log.
See hg help log for details
--
Pierre-Yves David
More information about the Mercurial
mailing list