hg log -f -r : foo.cpp gives an error
Bob Eby
ebyrob at gmail.com
Mon Jul 20 18:41:19 UTC 2015
hg log -r "follow('/full/repo/path/foo.cpp')"
Seems to be working (with or without reverse()).
The no output when I just typed in the file name confused me at first.
hg log -r "file('foo.cpp')" was working fine, but follow() wasn't
behaving the same way.
I think I can modify my script to put the full repo path in instead of
just the file name.
It still seems a little bit odd that in version 3.3.3 it worked as expected.
This seems the case even in a test repo where a
renamed file name was reused for a new file. (per your example)
Thanks,
Robert
More information about the Mercurial
mailing list