fix changegroup.notify hook broken by fb42030d79d6
authorDennis Schoen <dennis.schoen@epublica.de>
Tue, 02 Sep 2008 15:41:51 +0200
changeset 6974 8997b81a33da
parent 6973 8c136043867b
child 6975 5e1a867e5d65
fix changegroup.notify hook broken by fb42030d79d6
hgext/notify.py
--- 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