Mercurial tips & tricks for mac

I am collecting several useful mercurial tricks for me :

– See diffs when committing in vim
see : http://www.selenic.com/mercurial/wiki/index.cgi/DiffsInCommitMessageInVIM
but instead of using the instruction as is, I have to modify the string a little bit to work in my mac:
what I did is replacing :

 $EDITOR "$HGTMP/msg" "$HGTMP/diff" || exit $?

with

 vim "+e $HGTMP/diff" '+set nobl buftype=help filetype=diff' "+vsplit $HGTMP/msg" 
 

I’ll add more tricks later if I find any

Tags: