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

building diffs & cvs



Here is my problem: my main openbsd machine is not connected to the Internet
(or it is occasionnally, and I can't very well use remote-cvs from it).

On the other hand, I have access to a machine that is permanently connected
to the network, but where I can't afford to store 200 Megs+ of files 
semi-permanently to use through cvs.

I can probably do a cvs-checkout, get the files to my local machine.
After that, I would like a scheme that would allow me to synchronize,
without having to keep the whole usr directory on the connected machine.

I assume that, once I'm logged through cvs, there exists a command that
would enable me to get the diffs between two different releases...
and another command to use the generated diffs to patch my local
version.

Before deleting the usr directory on the connected machine, I tried
cvs diff -c -D now usr

what I got definitely did NOT look like something that patch would like.

I also tried subscribing to source-changes... I since learnt that I only
got log notices, and not actual patches.

- how do I know what's the last date I got a full cvs mirror through
cvs co/cvs update ?  i.e., the argument I would use to cvs diff to get
incremental patch.
- what command line should I use with cvs to get a set of diffs that I
can bring back home and apply to my src tree ?
- is this possible with patch, or is there a cvs option I missed ?
- is this at all possible with remote-cvs, or should I look elsewhere ?
-- 
	Marc Espie