##// END OF EJS Templates
Add log option --follow-first to follow only the first parent of...
Add log option --follow-first to follow only the first parent of merges. This can be useful to extract a single line of development.

File last commit:

r2741:ae5ce345 default
r2784:12a7bfca default
Show More
test-log
30 lines | 336 B | text/plain | TextLexer
#!/bin/sh
hg init a
cd a
echo a > a
hg ci -Ama -d '1 0'
hg cp a b
hg ci -mb -d '2 0'
mkdir dir
hg mv b dir
hg ci -mc -d '3 0'
hg mv a b
hg ci -md -d '4 0'
hg mv dir/b e
hg ci -me -d '5 0'
hg log a
echo % -f, directory
hg log -f dir
echo % -f, but no args
hg log -f
echo % one rename
hg log -vf a
echo % many renames
hg log -vf e