On Tue, Jun 13, 2000 at 03:03:04PM -0700, Thomas Olausson wrote:
> Is it possible and/or has anyone set up CVS with 
> two different repositories, allowing distributed development, 
> and then having an admin or a script merging them together periodically.
> 
> I'd like the two different groups to be able to develop on their own,
> but not having to touch the other group's repository, at least not
> individually.

I have made a perl module for manipulating CVS files that is intended for
use with this (and to allow import of CVS files with history into other
version control systems.)   I have not made any example of how to make an
import from another repository (or much else - what is there is really just
code to verify that the module works correctly.)   The module has been
tested by reading and writing out the entire FreeBSD CVS repository and
diffing the results.  The only differences I found were due to old,
non-normalized files in the FreeBSD repository (whitespace diffs) and bugs
in the repo (dual tags - it seems that CVS at one time allowed import with
the same branch-tag and tag, and the module collapses this to one tag.)

Caveats: The module does NOT do CVS locking yet, and there is no
documentation, and I do not presently have time to write any.  I'll trade
you the URL for documentation.

Here goes: http://people.freebsd.org/~eivind/CVSFile-0.2.tar.gz - now you
have to write documentation ;-)

Feel free to bother me about any bugs, or quick questions as to use - but do
not expect me to do a tutorial, as I presently do not have time.

Eivind.


Reply via email to