hg log --follow <filename> not working as expected
Andrew Taumoefolau
zenbot at gmail.com
Tue Jan 19 04:25:23 UTC 2016
Hi all,
Using mercurial 3.6.3, `hg log --follow` doesnât appear to be following copies. If I set up a repo like so:
$ hg init testcopy
$ cd testcopy
$ touch 1
$ hg add 1
$ hg ci -m "Adding 1!"
$ hg cp 1 2
$ hg ci -m "Adding 2!"
$ echo foo >>2
$ hg ci -m "Modifying 2."
$ hg cp 2 3
$ hg ci -m "Adding 3."
If I run `hg log --follow 3`, Iâd expect to see all revisions listed, but I only see the revision in which I add 3. Am I misunderstanding how --follow works, or is this unexpected behaviour?
Cheers,
Andrew
More information about the Mercurial
mailing list