~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_read_bundle.py

  • Committer: Robert Collins
  • Date: 2006-09-05 08:14:23 UTC
  • mto: (1852.16.2 Tree.walkdirs)
  • mto: This revision was merged to the branch mainline in revision 1993.
  • Revision ID: robertc@robertcollins.net-20060905081423-b1bc9b092a9f8597
DeprecateĀ WorkingTree.last_revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
 
58
58
        out = cStringIO.StringIO()
59
59
        rev_ids = write_bundle(wt.branch.repository,
60
 
                               wt.last_revision(), None, out)
 
60
                               wt.get_parent_ids()[0], None, out)
61
61
        out.seek(0)
62
62
        if self._transport.is_readonly():
63
63
            f = open('test_bundle', 'wb')