changeset 20079 | d4838302305c |
parent 20077 | 986d09e696ff |
parent 20076 | faa4b3fc4197 |
child 20369 | 9c6b86dd2ed2 |
child 20661 | 7e627fe63e5e |
20078:43e872a35f8a | 20079:d4838302305c |
---|---|
1619 adding a |
1619 adding a |
1620 $ hg log -r 0 --template '{if(rev, desc)}\n' |
1620 $ hg log -r 0 --template '{if(rev, desc)}\n' |
1621 {rev} |
1621 {rev} |
1622 $ hg log -r 0 --template '{if(rev, "{author} {rev}")}\n' |
1622 $ hg log -r 0 --template '{if(rev, "{author} {rev}")}\n' |
1623 test 0 |
1623 test 0 |
1624 |
|
1625 Test branches inside if statement: |
|
1626 |
|
1627 $ hg log -r 0 --template '{if(branches, "yes", "no")}\n' |
|
1628 no |