/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_sftp_transport.py

  • Committer: Jelmer Vernooij
  • Date: 2018-02-18 15:21:06 UTC
  • mto: This revision was merged to the branch mainline in revision 6928.
  • Revision ID: jelmer@jelmer.uk-20180218152106-m8bmfurzlspweyu4
Yet more bees.

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
        t = controldir.ControlDir.create_standalone_workingtree('a')
196
196
        b = t.branch
197
197
        t.add('foo')
198
 
        t.commit('foo', rev_id='a1')
 
198
        t.commit('foo', rev_id=b'a1')
199
199
 
200
200
        b2 = controldir.ControlDir.create_branch_and_repo(self.get_url('/b'))
201
201
        b2.pull(b)
203
203
        self.assertEqual(b2.last_revision(), 'a1')
204
204
 
205
205
        with open('a/foo', 'wt') as f: f.write('something new in foo\n')
206
 
        t.commit('new', rev_id='a2')
 
206
        t.commit('new', rev_id=b'a2')
207
207
        b2.pull(b)
208
208
 
209
209
        self.assertEqual(b2.last_revision(), 'a2')