[Python-checkins] pymigr: Update instructions for hooks
antoine.pitrou
python-checkins at python.org
Fri Mar 4 18:28:34 CET 2011
http://hg.python.org/pymigr/rev/5f1c1e8f3278
changeset: 122:5f1c1e8f3278
user: Antoine Pitrou <solipsis at pitrou.net>
date: Fri Mar 04 18:28:31 2011 +0100
summary:
Update instructions for hooks
files:
README.txt
diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -79,15 +79,17 @@
[hooks]
- # Uses our modified version of eol.py (see
- # http://mercurial.selenic.com/bts/issue2660 and
- # http://mercurial.selenic.com/bts/issue2665)
- pretxnchangegroup.eol = python:/home/hg/mercurial-1.7.5/hgext/eol.py:allcsethook
- #pretxnchangegroup.eol = python:hgext.eol.hook
+ # Uses our modified version of eol.py (see http://mercurial.selenic.com/bts/issue2665)
+ pretxnchangegroup.eol = python:hgext.eol.allcsethook
+ # Enforce whitespace rules for all new head(s)
+ pretxnchangegroup.checkwhitespace = python:/data/hg/repos/hooks/checkwhitespace.py:check_whitespace
+ # Reject new changesets on closed branches, or brand-new branches
+ pretxnchangegroup.checkbranch = python:/data/hg/repos/hooks/checkbranch.py:hook
+ # Reject multiple heads per branch
+ pretxnchangegroup.checkheads = python:/data/hg/repos/hooks/checkheads.py:hook
- pretxnchangegroup.checkheads = python:/home/hg/repos/hooks/checkheads.py:hook
- pretxnchangegroup.checkbranch = python:/home/hg/repos/hooks/checkbranch.py:hook
- incoming.notify = python:/home/hg/repos/hooks/mail.py:incoming
+ incoming.notify = python:/data/hg/repos/hooks/mail.py:incoming
+ #incoming.sphinxbuild = hg up; sh -c 'source /data/hg/sphinx-env/bin/activate; sphinx-build -q . /data/ftp.python.org/pub/docs.python.org/devguide'
[mail]
notify = python-checkins at python.org
--
Repository URL: http://hg.python.org/pymigr
More information about the Python-checkins
mailing list