Mercurial > repos > other > linux
view hgrc @ 156:8bf9fc90ce51
Streamline HG Prompt with `inout` command
This avoids a second Mercurial invocation, which takes a couple
of seconds on a Raspberry Pi.
Also exported PS1 variants to make it easier to enable/disable
the VCS checks but keep the rest of the formatting
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 23 Aug 2023 20:26:28 +0100 |
parents | c67c56b569d8 |
children | 961186621cc8 |
line wrap: on
line source
[ui] username = IBBoard <dev@ibboard.co.uk> merge = meld # git add -p, only MORE interactive! interface = curses %include ~/.hgrc-username-override [trusted] #Trust root (mainly for VPS running, where some repos are owned by root and we want to do "hg status" without sudo-ing) #If we don't trust root then we're screwed anyway! users = root [alias] copush = !$HG commit $@ && $HG push [extensions] rebase = extdiff = bookmarks = hgext.convert= color = pager = progress = mercurial_keyring = prompt = ~/.hg-prompt.py [extdiff] cmd.meld = meld # Image diffing cmd.imdiff = sh opts.imdiff = -c 'compare $0 $1 compared.png; display compared.png' [pager] pager = LESS='FSRX' less ignore = version, help, update, serve, record %include ~/.hgrc-certs %include ~/.hgrc-auth