changeset 6974:8997b81a33da

fix changegroup.notify hook broken by fb42030d79d6
author Dennis Schoen <dennis.schoen@epublica.de>
date Tue, 02 Sep 2008 15:41:51 +0200
parents 8c136043867b
children 5e1a867e5d65
files hgext/notify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/notify.py	Tue Sep 02 17:32:07 2008 +0200
+++ b/hgext/notify.py	Tue Sep 02 15:41:51 2008 +0200
@@ -271,7 +271,7 @@
         end = len(repo)
         count = end - start
         for rev in xrange(start, end):
-            n.node(repo[node].rev())
+            n.node(repo[rev].node())
         n.diff(node, repo.changelog.tip())
     else:
         count = 1