Wednesday, May 11, 2011

hg style file on linux

http://hgbook.red-bean.com/read/customizing-the-output-of-mercurial.html#id417978
http://www.jaharmi.com/2008/11/30/list_changed_files_in_a_mercurial_repository_with_a_custom_output_style
http://mercurial.808500.n3.nabble.com/How-to-get-a-list-of-changed-files-td808109.html

save this file:

http://mercurial.808500.n3.nabble.com/attachment/808110/0/map-cmdline.gward
to this folder:
/usr/share/mercurial/templates/

now you can do:
hg log -r tip --style gward -v

or setup your ~/.hgrc
[ui]
style = gward
[defaults]
log = -v

now you can do:
hg log -r tip

No comments: