[techtalk] Web diary.

Kathryn Hogg kjh at flyballdogs.com
Thu Mar 22 09:14:26 EST 2001

"Rebecca J. Walter" wrote:
> Also with CVS it is possible to make a diff file and only upload the
> PART of the file that was changed.
> How to do that is still beyond me, i just know it is possible.

What I would do is maintain a file tag called UPLOADED which represents
last revision uploaded.

cvs diff -rUPLOADED -rHEAD >new_diffs    # this is recursive 
gzip new_diffs
scp new_diffs.gz user at host:new_diffs
cvs tag -r UPLOADED                      # you need to remove the old
cvs tag UPLOADED                         # before you can reset it

then on the remote machine run:
zcat new_diffs.gz | patch                

Kathryn Hogg

More information about the Techtalk mailing list