hgrc.5: oft-requested "hg update" hook example
authorMartin Geisler <mg@lazybytes.net>
Wed, 11 Nov 2009 20:08:26 +0100
changeset 9830 ab1625ccf3a9
parent 9829 1b2516a547d4
child 9831 9ebad1b93456
hgrc.5: oft-requested "hg update" hook example
doc/hgrc.5.txt
--- a/doc/hgrc.5.txt	Wed Nov 11 19:45:00 2009 +0100
+++ b/doc/hgrc.5.txt	Wed Nov 11 20:08:26 2009 +0100
@@ -482,6 +482,8 @@
 Example ``.hg/hgrc``::
 
   [hooks]
+  # update working directory after adding changesets
+  changegroup.update = hg update
   # do not use the site-wide hook
   incoming =
   incoming.email = /my/email/hook