~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to read_changeset.py

  • Committer: John Arbash Meinel
  • Date: 2005-07-13 20:08:02 UTC
  • mto: (0.5.85) (1185.82.1 bzr-w-changeset)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: john@arbash-meinel.com-20050713200802-b90130548125dfdc
Added common to the set of tests, fixed a problem with time conversions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
            sio.seek(0)
204
204
            sha1 = sha_file(sio)
205
205
            if sha1 != rev_info.sha1:
 
206
                open(',,bogus-rev', 'wb').write(sio.getvalue())
206
207
                raise BzrError('Revision checksum mismatch.'
207
208
                    ' For rev_id {%s} supplied sha1 (%s) != measured (%s)'
208
209
                    % (rev.revision_id, rev_info.sha1, sha1))