[Python-checkins] hooks: Update instructions to reflect latest changes

local-hg python-checkins at python.org
Tue Mar 8 22:10:45 CET 2011


http://hg.python.org/hooks/rev/cb96b70aa47e
changeset:   59:cb96b70aa47e
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue Mar 08 22:10:45 2011 +0100
summary:
  Update instructions to reflect latest changes

files:
  hgroundup.py

diff --git a/hgroundup.py b/hgroundup.py
--- a/hgroundup.py
+++ b/hgroundup.py
@@ -11,9 +11,8 @@
 
 where 12345 is the issue number.
 
-If "closes" or "fixes" (with alternative verb forms like "fixing"
-allowed too) is prepended, the issue is automatically closed as
-"fixed".
+If "closes" (with alternative verb forms like "closing" allowed too)
+is prepended, the issue is automatically closed as "fixed".
 
 To use this hook, include the following in hgrc:
 
@@ -21,10 +20,15 @@
     changegroup.roundup = python:hgroundup.update_issue
 
     [hgroundup]
-    repo = http://hg.python.org/cpython/rev/
+    fromaddr = roundup-user at example.com
     toaddr = roundup-admin at example.com
     mailrelay = 127.0.0.1
 
+`fromaddr` must be registered as the address of an existing Roundup user,
+otherwise Roundup will refuse and bounce the message.
+Also, you need either a `baseurl` property in the [web] section,
+or a `repourl` property in the [hgroundup] section.
+
 Initial implementation by Kelsey Hightower <kelsey.hightower at gmail.com>.
 """
 import re

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


More information about the Python-checkins mailing list