def update(self): tree = CVS.tree(self.local_path) tree.update()
def commit(self): tree = CVS.tree(self.local_path) tree.commit(log='Log message')
def assertHasCheckout(self, cvs_working_tree): """Assert that `cvs_working_tree` has a checkout of its CVS module.""" tree = CVS.tree(os.path.abspath(cvs_working_tree.local_path)) repository = tree.repository() self.assertEqual(repository.root, cvs_working_tree.root) self.assertEqual(tree.module().name(), cvs_working_tree.module)