]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_hgrc
Auto commit by The Sugar System.
[sugar.git] / dot-files / _hgrc
index 82c187b7d54e9f05801bc70a169d6207c62aaa1d..b97721312bb3d75a5a651277422cd1b273585d6c 100644 (file)
@@ -1,11 +1,34 @@
 [defaults]
 pull = -u
+annotate = -n -l -u
+branches = -a
+revert = --no-backup
 
 [ui]
 username = PHO <pho@cielonegro.org>
 
+[diff]
+git = True
+
+[alias]
+egrep = !nohup egrep --color=always -n -e $1 `$HG manifest` | less -R --quit-if-one-screen
+fgrep = !nohup fgrep --color=always -n -e $1 `$HG manifest` | less -R --quit-if-one-screen
+
 [extensions]
-hgext.mq =
-hgext.fetch =
-pager=
-color=
+hgext.color=
+hgext.convert=
+hgext.fetch=
+hgext.graphlog=
+hgext.hgshelve=
+hgext.mq=
+hgext.pager=
+hgext.record=
+hgext.transplant=
+
+[pager]
+attend = annotate, cat, diff, export, glog, grep, qdiff
+
+[hooks]
+commit        = touch `hg root`/.hg/unpushed
+post-push     = rm -f `hg root`/.hg/unpushed
+post-rollback = rm -f `hg root`/.hg/unpushed