44
44
commit(bx, 'commit one', rev_id='x@u-0-1', allow_pointless=True)
45
45
commit(by, 'commit two', rev_id='y@u-0-1', allow_pointless=True)
50
48
# just having the history there does nothing
51
49
self.assertRaises(PointlessCommit,
53
51
by, 'no changes yet', rev_id='y@u-0-2',
56
54
commit(by, 'merge from x', rev_id='y@u-0-2', allow_pointless=False)
58
56
self.assertEquals(by.revno(), 2)