Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mercurial.ini / .hgrc - HG configuration file
# Mercurial configuration.
[http_proxy]
#host = wwwcache.open.ac.uk:80
[ui]
username = Nick Freear <ME@example.org>
# Editor - I'll use vi for now!
;;editor = /Applications/TextWrangler.app/Contents/MacOS/TextWrangler
[extensions]
# Bundled extensions.
hgext.convert=
#convert=
progress =
color =
;;keyword =
# External extensions.
hgext.bookmarks =
hggit = /Users/Nick/workspace/hg-git/hggit
[git]
intree = true
[alias]
# Like Git-describe (hg log -l 1 ..{rev}:)
describe = tip --template "{latesttag}-{latesttagdistance}-{node|short}\n"
[hooks]
;;update = hg parents >./hg-revision
;;Was: 'cloudengine2/..'
; update: Peace of mind (eg. Live server) - check every PHP file.
update = php ~/workspace/cloudengine/system/application/cli/update-hook.php
; pre-update, pre-commit: Speed - just check the files that changed, and assume a CI file-structure (I think).
pre-update=php ~/workspace/cloudengine/system/application/cli/lint.php --hgstatus --ci
pre-commit=php ~/workspace/cloudengine/system/application/cli/lint.php --hgstatus --ci
[ui]
ignore = ~/workspace/cloudengine/.hg/hgignore
[keywordmaps]
HGpath = {path}
HGdate = {date|rfc822date}
lastlog= {desc}
checked= {author}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.