--- a/hgext/evolve.py Mon Jun 18 17:15:04 2012 +0200
+++ b/hgext/evolve.py Tue Jun 12 15:33:23 2012 +0200
@@ -425,10 +425,9 @@
tempid = None
# find all changesets to be considered updates
- cl = repo.changelog
head = repo['.']
- updatenodes = set(cl.nodesbetween(roots=[old.node()],
- heads=[head.node()])[0])
+ updatenodes = set(repo.changelog.nodesbetween(
+ roots=[old.node()], heads=[head.node()])[0])
updatenodes.remove(old.node())
okoptions = ['message', 'logfile', 'edit', 'user']
if not updatenodes: