Skip to main content

A Python client for CVS projects

Project description

pycvs

Build StatusPyPI - Python Version

A python client for CVS repositories.

Yeah, I know that CVS is a hundred years old, but sometimes you are stick to work with it. This utility is your best buddy to help you out! :)

Advantages

  • No password prompting
  • Beautiful output
  • Recursive addition

Dependencies

It runs only on Python 3 and depends on some libraries (available at PyPI):

  • pexpect>=4.1.0
  • colorama>=0.3.7

Installation

Install from PyPI:

pip3 install pycvs

Supported commands

This contains the current supported commands:

Checkout a brand new repository or update an existing one:

% pycvs checkout <repo>
Checking out repository repo

385 files checked out
70 directories checked out

% pycvs update <repo>

Get current status of a repository:

% 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

Add new files to repository. It works recursively:

% cd my_repo
% pycvs add foo/
Directory foo added
	staging foo/bla to commit
	staging foo/ble to commit

Diff the modified files from the server:

% pycvs diff [parameters]
(open a less windows with the differences in the unified syntax and colors)

Log the file history from the server:

% pycvs log [parameters]
(open a less windown with file's revisions, tags...)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycvs-0.0.3.tar.gz (6.2 kB view hashes)

Uploaded source

Built Distribution

pycvs-0.0.3-py3-none-any.whl (8.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page