Mercurial > evolve
diff hgext/evolve.py @ 268:2da5af3dadeb
amend: remove useless repo.changelog alias
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Tue, 12 Jun 2012 15:33:23 +0200 |
parents | 24943df310d4 |
children | 6c6bb7a23bb5 |
line wrap: on
line diff
--- 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: