Last active
April 28, 2016 00:32
-
-
Save d9k/acad059fd3a464359156726c2a292e9d to your computer and use it in GitHub Desktop.
hg log templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg log -G -l 10 --template "{rev} [{phase}] {date|isodate}, {author|person}, {node}\n {desc}\n\n" | |
#210 [public] 2016-04-23 02:41 +0300, d9k, 117988d537c4bfc178e44ef562a41944c1bdb942 | |
# one click buy form: payment system field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#doesn't show branch if "default" and phase if "pulic" | |
hg log -G -l 10 --template "{rev}{ifeq(branch, 'default', '', '-{branch}')}.{ifeq(phase, 'public', '', ' [{phase}]')} {date|date}, {author|person}, {node}\n {desc}\n\n" | |
#210. Sat Apr 23 02:41:53 2016 +0300, d9k, 117988d537c4bfc178e44ef562a41944c1bdb942 | |
# one click buy form: payment system field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg log -G -l 10 --template "{rev}) {date|isodate}, {phase}, hash: {node}\n{author|person}: {desc}\n\n" | |
#210) 2016-04-23 02:41 +0300, public, hash: 117988d537c4bfc178e44ef562a41944c1bdb942 | |
#d9k: one click buy form: payment system field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg log -G -l 10 --template "changeset: {rev}:{node}\nuser: {author}\ndate: {date|isodate}\nsummary: {desc}\n\n" | |
#changeset: 210:117988d537c4bfc178e44ef562a41944c1bdb942 | |
#user: d9k <[email protected]> | |
#date: 2016-04-23 02:41 +0300 | |
#summary: one click buy form: payment system field |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment