275
276
path, (gitsha1, gitsha2) = self.make_tworev_branch()
276
277
wt = Branch.open(path).create_checkout('co')
277
278
self.build_tree_contents([('co/foobar', b'blah')])
279
281
'commit from bound branch.')
280
282
revid = wt.commit('commit from bound branch.', lossy=True)
281
283
self.assertEqual(revid, wt.branch.last_revision())
287
289
class ForeignTestsBranchFactory(object):