~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Marius Kruger
  • Date: 2009-07-07 20:22:22 UTC
  • mto: (4867.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4868.
  • Revision ID: amanic@gmail.com-20090707202222-y6yy4q02e7msuo80
when we go forward we need to stop at the end-revision not the start-revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
400
400
                    log_count += 1
401
401
                    if log_count >= limit:
402
402
                        return
403
 
                if self.start_rev_id == rev_id:
404
 
                    return
 
403
                # we need to filter the revisions here again since
 
404
                # the lower levels also return the revision parents
 
405
                if rqst.get('direction') == 'forward':
 
406
                    if self.end_rev_id == rev_id:
 
407
                        return
 
408
                else:
 
409
                    if self.start_rev_id == rev_id:
 
410
                        return
405
411
 
406
412
    def _format_diff(self, rev, rev_id):
407
413
        diff_type = self.rqst.get('diff_type')