[Python-checkins] pymigr: Add current / sample .hg/hgrc for the server

antoine.pitrou python-checkins at python.org
Sat Feb 26 21:34:16 CET 2011


antoine.pitrou pushed 1c89cd975318 to pymigr:

http://hg.python.org/pymigr/rev/1c89cd975318
changeset:   110:1c89cd975318
parent:      105:ddaae6fa1dea
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sat Feb 26 21:31:11 2011 +0100
summary:
  Add current / sample .hg/hgrc for the server

files:
  README.txt

diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -67,3 +67,25 @@
 
     $ hg bundle -a cpython.bundle
 
+- Setup hooks and on other configuration on the public repository's .hg/hgrc:
+
+    [web]
+    description = CPython repository
+    contact = python-dev at python.org
+
+    [extensions]
+    # Needed for the hook to work, otherwise it will be a no-op
+    eol =
+
+    [hooks]
+
+    # Uses our modified version of eol.py (see http://mercurial.selenic.com/bts/issue2660)
+    pretxnchangegroup.eol = python:/home/hg/mercurial-1.7.5/hgext/eol.py:hook
+    #pretxnchangegroup.eol = python:hgext.eol.hook
+
+    pretxnchangegroup.checkbranch = python:/home/hg/repos/hooks/checkbranch.py:hook
+    incoming.notify = python:/home/hg/repos/hooks/mail.py:incoming
+
+    [mail]
+    notify = python-checkins at python.org
+

--
Repository URL: http://hg.python.org/pymigr


More information about the Python-checkins mailing list