398
402
tree.commit('revision 1', rev_id='1')
399
403
tree.commit('revision 2', rev_id='2', allow_pointless=True)
400
404
source = self.make_branch('source')
404
408
target = dir.clone(self.get_url('target'), revision_id='1')
405
409
self.assertEqual('1', target.open_branch().last_revision())