Show More
@@ -96,7 +96,7 b' Some sample command line templates:' | |||||
96 |
|
96 | |||
97 | - Mark the active bookmark with '*':: |
|
97 | - Mark the active bookmark with '*':: | |
98 |
|
98 | |||
99 |
$ hg log --template "{bookmarks % '{bookmark}{ifeq(bookmark, active, |
|
99 | $ hg log --template "{bookmarks % '{bookmark}{ifeq(bookmark, active, '*')} '}\n" | |
100 |
|
100 | |||
101 | - Mark the working copy parent with '@':: |
|
101 | - Mark the working copy parent with '@':: | |
102 |
|
102 | |||
@@ -104,7 +104,7 b' Some sample command line templates:' | |||||
104 |
|
104 | |||
105 | - Show only commit descriptions that start with "template":: |
|
105 | - Show only commit descriptions that start with "template":: | |
106 |
|
106 | |||
107 |
$ hg log --template "{startswith( |
|
107 | $ hg log --template "{startswith('template', firstline(desc))}\n" | |
108 |
|
108 | |||
109 | - Print the first word of each line of a commit message:: |
|
109 | - Print the first word of each line of a commit message:: | |
110 |
|
110 |
General Comments 0
You need to be logged in to leave comments.
Login now