I remember in SVN, I can rename a file from foo.txt to foo2.txt and all the history will follow (log file of foo2.txt will show all history of foo.txt as well). But on Mercurial, seems like that's not the case. When a hg rename
is done, then hg log foo2.txt
will not show any previous history of foo.txt
? Is there a way around it?
Use hg log --follow foo2.txt
or hg log -f foo2.txt
(short form) to show you the entire history of the file before the hg rename
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With