83
83
def test_commit_sets_last_revision(self):
84
84
tree = self.make_branch_and_tree('tree')
85
85
committed_id = tree.commit('foo', rev_id='foo', allow_pointless=True)
87
87
# the commit should have returned the same id we asked for.
88
88
self.assertEqual('foo', committed_id)