375
375
def test_directive_cherrypick(self):
376
376
source = self.make_branch_and_tree('source')
377
383
self.build_tree(['source/a'])
379
385
source.commit('Added a', rev_id='rev1')
380
386
self.build_tree(['source/b'])
382
388
source.commit('Added b', rev_id='rev2')
384
389
target.commit('empty commit')
385
390
self.write_directive('directive', source.branch, 'target', 'rev2',