Re: CVS checkout hints for the bandwidth-limited

2003-09-30 Thread Juergen Boemmels
Jeff Clites [EMAIL PROTECTED] writes:

 Actually, I'm pretty sure that cvs will delete local copies of file
 removed from the repository with just cvs update. The -dP just
 affects directories--the -d says to pull down and update new
 directories, and the -P tells it to prune (remove) empty directories
 (this is necessary because cvs doesn't really version directories, and
 you end up not really having a way to fully remove them from the
 repository).

exactly.

 My canonical invocation is:
 
   cvs -q -z6 update -dP
 
 (I use -z6 rather than -z9 because I remember reading somewhere that
 the higher compressions numbers don't save much space, but use a lot
 more CPU, and level 6 is the default for gzip.)

I use a .cvsrc file:
$ cat .cvsrc
cvs -z3 -q
diff -uN
update -dP

This way i just type cvs up and the data is compressed (I use -z3
because some sites don't want higher compression rates because of high
CPU usage on the server) and the directories are handled right.
Furthermore I always get unified diffs.

bye
boe
-- 
Juergen Boemmels[EMAIL PROTECTED]
Fachbereich Physik  Tel: ++49-(0)631-205-2817
Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906
PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F  23 F6 C7 2F 85 93 DD 47


Re: CVS checkout hints for the bandwidth-limited

2003-09-26 Thread Leopold Toetsch
Dan Sugalski [EMAIL PROTECTED] wrote:

   cvs -z9 update

  cvs -z9 update -dP parrot

to get rid of deleted files too. Filtering the output through a small
script, that just does something like:

if ($_ !~ /^cvs server: Updating/) {
print $_;
}

helps to unclutter update results.

 ... so if
 you're on dialup or slow DSL

Hah. I really wished to have some slow DSL. I'm living here at the
countryside far? away from civilization, where these telco NULs say
that's not possible/worth to offer some fatter lines then ISDN (that's
64 Kbit).

   Dan

leo


Re: CVS checkout hints for the bandwidth-limited

2003-09-26 Thread Steve Fink
On Sep-26, Leopold Toetsch wrote:
 Filtering the output through a small
 script, that just does something like:
 
 if ($_ !~ /^cvs server: Updating/) {
 print $_;
 }
 
 helps to unclutter update results.

cvs -q will suppress those lines for you.