Hi

Please look at

hg init
echo "First" > test.org
hg add test.org
hg commit  -m "First"
echo "Second" >> test.org
hg commit  -m "Second"
echo "Third" >> test.org
hg commit  -m "Third"
echo "Forth" >> test.org
hg commit  -m "Forth"
hg annotate test.org -r 3
hg mv test.org testnew.org
hg commit  -m "Renamed file test.org to testnew.org"
hg annotate testnew.org -r 3

The last command fails since testnew.org was not in rev3 (it was but
with a different name). I hoped hg annotate would following renaming but
it does not or what do I miss.


Hg help annotate 

Tells me 

--no-follow           don't follow copies and renames

So I understand the default behavior is to follow.

I, unfortunately do a lot of renaming and hg annotate is very helpful.

Regards

Uwe Brauer 

_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to