~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Martin Pool
  • Date: 2005-09-19 08:04:06 UTC
  • Revision ID: mbp@sourcefrog.net-20050919080406-68df87945871a505
- Fix up one more RevisionReference bit

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
                rev.parent_sha1s.append(p.get('revision_sha1'))
167
167
            if precursor:
168
168
                # must be consistent
169
 
                prec_parent = rev.parent_ids[0].revision_id
 
169
                prec_parent = rev.parent_ids[0]
170
170
                assert prec_parent == precursor
171
171
        elif precursor:
172
172
            # revisions written prior to 0.0.5 have a single precursor