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)
48
50
# just having the history there does nothing
49
51
self.assertRaises(PointlessCommit,
51
53
by, 'no changes yet', rev_id='y@u-0-2',
54
56
commit(by, 'merge from x', rev_id='y@u-0-2', allow_pointless=False)
56
58
self.assertEquals(by.revno(), 2)