Show More
@@ -1504,6 +1504,21 b' Test indent and not adding to empty line' | |||||
1504 |
|
1504 | |||
1505 | >> other 3 |
|
1505 | >> other 3 | |
1506 |
|
1506 | |||
|
1507 | Test indent with empty first line | |||
|
1508 | ||||
|
1509 | $ hg version -T "{indent('', '>> ')}\n" | |||
|
1510 | >> | |||
|
1511 | ||||
|
1512 | $ hg version -T "{indent(' | |||
|
1513 | > second', '>> ')}\n" | |||
|
1514 | >> | |||
|
1515 | >> second | |||
|
1516 | ||||
|
1517 | $ hg version -T "{indent(' | |||
|
1518 | > second', '>> ', ' > ')}\n" | |||
|
1519 | > | |||
|
1520 | >> second | |||
|
1521 | ||||
1507 | Test with non-strings like dates |
|
1522 | Test with non-strings like dates | |
1508 |
|
1523 | |||
1509 | $ hg log -T "{indent(date, ' ')}\n" -r 2:3 -R a |
|
1524 | $ hg log -T "{indent(date, ' ')}\n" -r 2:3 -R a |
General Comments 0
You need to be logged in to leave comments.
Login now