cvsproxy(1)

NAME
cvsproxy - CVS proxy hack by dancer

SYNOPSIS
cvsproxy init module-name-A repository-A [-jrepository-A-tag] module-name-B repository-B [-jrepository-B-tag] cvsproxy-directory

cvsproxy proxize master-module-name master-repository [-jmaster-repository-tag] new-repository-module-name new-repository [-jnew-repository-tag] cvsproxy-directory

cvsproxy sync cvsproxy-directory

cvsproxy release cvsproxy-directory

DESCRIPTION
cvsproxy is a bidirectional proxy cache to be used for CVS repositories.

  cvsproxy init
init creates a new relationship between the two modules from the different repositories to synchronise with each other. The two modules need to already exist. Most of the time, this is not the case, so try proxize instead.

  cvsproxy proxize
proxize makes a new repository or a module which mirrors an existing CVS repository module branch. Unlike init, the mirror is created for you by cvsproxy.

  cvsproxy sync
sync does the proxy synchronisation.

  cvsproxy release
Release a cvsproxy work directory, and stop the proxy. The disk space used by the proxy is released.

IMPLEMENTATION

  Introduction
Here I will explain how cvsproxy works.

  SYNCHRONISING
cvsproxy synchronises two repositories when cvsproxy sync command is given. cvsproxy obtains the log between two versions using -ddate:date option of cvs log command, and checks out the latest version using -Dtag option of the cvs export command. And commits it to the other repository using cvs ci -flogfilename checkinfile after doing a cvs up to check what is changed. The output of cvs -q up can be parsed, in as far as one of the RMC? characters exist, they can be processed accordingly.

R   A cvs remove is in order

M   A cvs commit is in order. But it is causing a conflict, and will result in a very bad situation.

C   A cvs commit is in order

?   A cvs add is in order.

EXIT STATUS
cvsproxy exits with a 0 on success. Behavior when error is detected is unknown.

AUTHORS
Junichi Uekawa <dancer@debian.org> wrote the scripts, and this manual page.

SEE ALSO
cvs(1), rcs(1)