author | Mahlon E. Smith <mahlon@martini.nu> |
Wed, 31 Oct 2018 13:21:37 -0700 | |
changeset 377 | 18869fcfbc92 |
parent 376 | d503d5a786f3 (diff) |
parent 375 | a41e4382ea6e (current diff) |
child 378 | a788cfad4cfa |
--- a/src/mercurialserver/changes.py Mon Sep 11 21:38:10 2017 +0200 +++ b/src/mercurialserver/changes.py Wed Oct 31 13:21:37 2018 -0700 @@ -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]