Skip to content

Instantly share code, notes, and snippets.

@isaquealves
Created April 7, 2017 20:12
Show Gist options
  • Save isaquealves/8c109385bf5b389e10f0a854e59d66ff to your computer and use it in GitHub Desktop.
Save isaquealves/8c109385bf5b389e10f0a854e59d66ff to your computer and use it in GitHub Desktop.
Mercurial Alias to show detailed information about changes on the commit message file
[committemplate]
changeset = {desc}\n\n
HG: {extramsg}
HG: user: {author}\n{ifeq(p2rev, "-1", "",
"HG: branch merge\n")
}HG: branch '{branch}'\n{if(currentbookmark,
"HG: bookmark '{currentbookmark}'\n") }{subrepos %
"HG: subrepo {subrepo}\n" }
{splitlines(diff()) % 'HG: {line}\n'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment