예제 #1
0
 def update(self):
     tree = CVS.tree(self.local_path)
     tree.update()
예제 #2
0
 def commit(self):
     tree = CVS.tree(self.local_path)
     tree.commit(log='Log message')
예제 #3
0
 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)
예제 #4
0
 def update(self):
     tree = CVS.tree(self.local_path)
     tree.update()
예제 #5
0
 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)