/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 bzrlib/branch.py

  • Committer: Ian Clatworthy
  • Date: 2009-01-27 04:05:14 UTC
  • mto: (3976.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3978.
  • Revision ID: ian.clatworthy@canonical.com-20090127040514-z72i60ixqx1u0abz
use iter_merge_sorted_revisions() with stop_range feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
363
363
                if rev_id != start_revision_id:
364
364
                    continue
365
365
                else:
366
 
                    yield rev_id, depth, revno, end_of_merge
 
366
                    # The decision to include the start or not
 
367
                    # depends on the stop_rule if a stop is provided
 
368
                    rev_iter = chain(
 
369
                        iter([(rev_id, depth, revno, end_of_merge)]),
 
370
                        rev_iter)
367
371
                    break
368
372
        if stop_revision_id is None:
369
373
            for rev_id, depth, revno, end_of_merge in rev_iter: