equal
deleted
inserted
replaced
104 |
104 |
105 - Mark the working copy parent with '@':: |
105 - Mark the working copy parent with '@':: |
106 |
106 |
107 $ hg log --template "{ifcontains(rev, revset('.'), '@')}\n" |
107 $ hg log --template "{ifcontains(rev, revset('.'), '@')}\n" |
108 |
108 |
|
109 - Show details of parent revisions:: |
|
110 |
|
111 $ hg log --template "{revset('parents(%d)', rev) % '{desc|firstline}\n'}" |
|
112 |
109 - Show only commit descriptions that start with "template":: |
113 - Show only commit descriptions that start with "template":: |
110 |
114 |
111 $ hg log --template "{startswith('template', firstline(desc))}\n" |
115 $ hg log --template "{startswith('template', firstline(desc))}\n" |
112 |
116 |
113 - Print the first word of each line of a commit message:: |
117 - Print the first word of each line of a commit message:: |