hg mv/rename bug?

Jonathan S. Shapiro shap at eros-os.com
Fri Sep 7 00:54:02 CDT 2007


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?

I can look into this. I just want to find out first if this behavior is
intentional for some reason.

shap



More information about the Mercurial-devel mailing list