author | Cédric Krier <ced@b2ck.com> |
Fri, 20 Jul 2018 17:17:49 +0200 | |
changeset 376 | d503d5a786f3 |
parent 373 | a286d6c6b19c |
child 377 | 18869fcfbc92 |
--- a/src/mercurialserver/changes.py Wed Mar 05 12:16:46 2014 +0100 +++ b/src/mercurialserver/changes.py Fri Jul 20 17:17:49 2018 +0200 @@ -3,10 +3,10 @@ """ def changes(repo, node): - start = repo.changectx(node).rev() + start = repo[node].rev() try: end = len(repo.changelog) except: end = repo.changelog.count() for rev in xrange(start, end): - yield repo.changectx(rev) + yield repo[rev]