cvs项目的python客户机
pycvs的Python项目详细描述
PYCVS
cvs存储库的python客户机。
是的,我知道简历已经有一百年的历史了,但有时候你还是会坚持使用它。这个工具是你最好的朋友来帮你!:)
优势
- 无密码提示
- 漂亮的输出
- 递归加法
依赖关系
它只在python 3上运行,并且依赖于一些库(pypi提供):
- pexpect>;=4.1.0
- 色差=0.3.7
安装
从源安装软件包:
python setup.py install
或者从pypi安装(很快):
pip install pycvs
在这两个选项中,命令pycvs将在命令行中可用。
支持的命令
它包含当前支持的命令:
检查一个新的存储库或更新现有的存储库:
% pycvs checkout <repo>
Checking out repository repo
385 files checked out
70 directories checked out
% pycvs update <repo>
获取存储库的当前状态:
% cd my_repo
% pycvs status
On branch HEAD
Untracked files:
(use cvs add <file>... to add them for commit)
bla
Changes staged for commit:
(use cvs commit... to check them in)
./my_script.py
将新文件添加到存储库。它递归工作:
% cd my_repo
% pycvs add foo/
Directory foo added
staging foo/bla to commit
staging foo/ble to commit
从服务器区分修改过的文件:
% pycvs diff [parameters]
(open a less windows with the differences in the unified syntax and colors)
从服务器记录文件历史记录:
% pycvs log [parameters]
(open a less windown with file's revisions, tags...)