コード例 #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')
コード例 #6
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)