Now extension for Mercurial

This hg-now is troter's version git-now. hg-now adds commands to Mercurial which create a temporary commit/patch quickly.


Similar extensions.


Clone the repository:

hg clone http://bitbucket.org/troter/hg-now/

Edit the [extensions] section in your ~/.hgrc file:

now = [path to]/hg-now/now.py


To create a new temporary commit:

hg now

To interactively create a new temporary commit:

hg nowrecord

To fixup commit(hg qrefresh for commit):

hg fixup

To create a new temporary patch:

hg qnow

To fixup patch:

hg qfixup # alias of qrefresh

Hints and tips

Change the default message template:

template = [from {command}] {date(date, '%Y-%m-%d %H:%M:%S')}