/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/repository.py

  • Committer: Martin
  • Date: 2017-05-25 01:35:55 UTC
  • mto: This revision was merged to the branch mainline in revision 6637.
  • Revision ID: gzlist@googlemail.com-20170525013555-lepzczdnzb9r272j
Apply 2to3 next fixer and make compatible

Show diffs side-by-side

added added

removed removed

Lines of Context:
1788
1788
        (_mod_revision.NULL_REVISION,))
1789
1789
    try:
1790
1790
        # skip the last revision in the list
1791
 
        iterator.next()
 
1791
        next(iterator)
1792
1792
        while True:
1793
1793
            if (stop_index is not None and
1794
1794
                len(partial_history_cache) > stop_index):
1795
1795
                break
1796
1796
            if partial_history_cache[-1] == stop_revision:
1797
1797
                break
1798
 
            revision_id = iterator.next()
 
1798
            revision_id = next(iterator)
1799
1799
            partial_history_cache.append(revision_id)
1800
1800
    except StopIteration:
1801
1801
        # No more history