~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/multiparent.py

  • Committer: Aaron Bentley
  • Date: 2007-06-13 04:37:30 UTC
  • mto: (2520.5.2 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: aaron.bentley@utoronto.ca-20070613043730-lll1fxxy3mfne2dl
Handle empty versions correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
    def _reconstruct(self, lines, req_version_id, req_start, req_end):
527
527
        """Append lines for the requested version_id range"""
528
528
        # stack of pending range requests
 
529
        if req_start == req_end:
 
530
            return
529
531
        pending_reqs = [(req_version_id, req_start, req_end)]
530
532
        while len(pending_reqs) > 0:
531
533
            req_version_id, req_start, req_end = pending_reqs.pop()