[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping different platforms in sync?

From: mmogilvi
Subject: Re: Keeping different platforms in sync?
Date: Wed, 19 Sep 2001 21:42:00 -0600 (MDT)

[ On Tuesday, September 18, 2001 at 15:58:38 (+0100), Stephen Jowitt wrote: ]
> Subject: Keeping different platforms in sync?
> We develop for Windows and Linux and both systems share source code from
> the same repository. Our developers would like to be able to do the
> following:
>   1) Write code on windows machine. Compile and test.
>   2) Compile and test the same code on a linux box
>   3) Commit changes to cvs

One thing you can try is the "cvsSync" perl script I wrote:

This is intended to be keep multiple copies of a CVS-managed
source tree syncronized with each other without commits.  It
can automatically handle end-of-line conversion between the copies.

There is some fairly decent documentation in the comments of in
the script.  Pay special attention to the Known Bugs section:
cvsSync is pretty good about never loosing your own changes, but
if you aren't careful you can loose other people's committed
changes (requiring that you manually re-merge them), and/or
cause CVS to generate needless conflicts.

Also note: some of the ways of invoking cvsSync (like "cvsOut")
currently do "cvs admin -l" and/or "cvs edit"; if you don't want
this, you will need to modify the script.

Matthew Ogilvie                address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]