vcprompt with MQ (Mercurial Queue) support

Yuya Nishihara yuya at tcha.org
Sat Jan 16 23:04:35 CST 2010


Hi,

Don't you think it's nice if shell prompt could tell you the current
MQ patch?

I hacked Greg's vcprompt to support MQ.

The patch name is shown as revision, so you need to include '%r' like:

	PS1='...$(vcprompt -f '[%n:%r/%b]')...$ '

vcprompt (with MQ support): http://bitbucket.org/yuja/vcprompt/
vcprompt (original): http://vc.gerg.ca/hg/vcprompt/

If you're a fun of MQ, you should check it!

Yuya.


More information about the Mercurial mailing list