1917
1917
self.addCleanup(branch.unlock)
1918
1918
tt = TransformPreview(branch.basis_tree())
1919
1920
rev = tt.commit(branch, 'my message')
1920
1921
self.assertEqual([], branch.basis_tree().get_parent_ids())
1921
1922
self.assertNotEqual(_mod_revision.NULL_REVISION,