hg mv/rename bug?
Brendan Cully
brendan at kublai.com
Fri Sep 7 01:07:18 CDT 2007
On Friday, 07 September 2007 at 01:54, Jonathan S. Shapiro wrote:
> Today I discovered that
>
> hg add foo
> hg mv foo bar
>
> Yields:
>
> foo: not copying - file has been marked for add
>
> I understand that this operation cannot be accomplished by copy+remove,
> but I do not see any reason why it should not behave in a more sensible
> way.
>
> Am I missing something obvious?
Just that your hg is old:
% hg mv foo bar
foo has not been committed yet, so no copy data will be stored for bar.
% hg st
A bar
More information about the Mercurial-devel
mailing list