From 9ac920c170674a8f013ea3ab222959e27ca66816 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Mon, 5 Aug 2013 09:14:36 +0200 Subject: Added a preupdate hook. It shows which files have changed before doing the actual update. --- hgrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hgrc') diff --git a/hgrc b/hgrc index 0ae25d3..8eeb2e2 100644 --- a/hgrc +++ b/hgrc @@ -2,6 +2,9 @@ username = Miquel Sabaté Solà ignore = ~/.hgignore +[hooks] +preupdate = hg status --rev .:$HG_PARENT1 + [alias] show = log -pr -- cgit v1.2.3