[Python-checkins] hooks: Fix mistake in buildbot hook

local-hg python-checkins at python.org
Sun Mar 6 10:48:19 CET 2011


http://hg.python.org/hooks/rev/9863f0c15be9
changeset:   51:9863f0c15be9
user:        Georg Brandl <georg at python.org>
date:        Sun Mar 06 10:48:19 2011 +0100
summary:
  Fix mistake in buildbot hook

files:
  hgbuildbot.py

diff --git a/hgbuildbot.py b/hgbuildbot.py
--- a/hgbuildbot.py
+++ b/hgbuildbot.py
@@ -88,7 +88,7 @@
             # Explicitly compare current with its first parent (otherwise
             # some files might be "forgotten" if they are copied as-is from the
             # second parent).
-            p1 = repo[hex(p[0])]
+            p1 = repo[hex(parents[0])]
             modified, added, removed, deleted = repo.status(rev, p1)[:4]
             files = set()
             for l in (modified, added, removed, deleted):

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


More information about the Python-checkins mailing list