aboutsummaryrefslogtreecommitdiff
path: root/hgrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2013-08-05 09:14:36 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2013-08-05 09:14:36 +0200
commit9ac920c170674a8f013ea3ab222959e27ca66816 (patch)
tree2514e9b58a836141d35d8436f2189578c9436ac7 /hgrc
parentd52d4e2e5dc46efd8f9eb7a14ecd7133ccdbf957 (diff)
downloaddotfiles-9ac920c170674a8f013ea3ab222959e27ca66816.tar.gz
dotfiles-9ac920c170674a8f013ea3ab222959e27ca66816.zip
Added a preupdate hook.
It shows which files have changed before doing the actual update.
Diffstat (limited to 'hgrc')
-rw-r--r--hgrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/hgrc b/hgrc
index 0ae25d3..8eeb2e2 100644
--- a/hgrc
+++ b/hgrc
@@ -2,6 +2,9 @@
username = Miquel Sabaté Solà <mikisabate@gmail.com>
ignore = ~/.hgignore
+[hooks]
+preupdate = hg status --rev .:$HG_PARENT1
+
[alias]
show = log -pr