Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 20:58:47 +0200 (MET DST)
From:      Eivind Eklund <eivind@bitbox.follo.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.ORG, CVS-committers@FreeBSD.ORG, cvs-user@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: cvs commit:  src/release Makefile
Message-ID:  <199705041858.UAA04285@bitbox.follo.net>
In-Reply-To: Bruce Evans's message of Mon, 5 May 1997 04:06:29 %2B1000
References:  <199705041806.EAA21938@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >  Branch:      release   RELENG_2_2
> >  Modified:    release   Makefile
> >  Log:
> >  Don't --exclude CVS when building the src distributions.  It's
> >  actually a lot more convenient to have this information around now
> >  than it is to save a few measly megs (if even that much) of space.
> 
> It can't be right to leave pointers to nonexistent repositories.

It is extremely convenient, even if it is a little 'unclean'.  With
this in place, I can use the following shell-script

#!/bin/sh
# Usage: changerep <repository> <paths>

REPOSITORY=$1;
shift;
for repository in $(find $* -path \*/CVS/Repository)
do
	echo $REPOSITORY > $repository
done

and be ready to do a 'cvs update' to get up to date.  This is
especially convenient for sources where changes has been made without
checking out from the repository in the first place.

Changing repositories is something that is necessary fairly often if
you have mirrored repositories, so I would guess many people have a
similar script (or know how to write the appropriate command-line.)

Eivind.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705041858.UAA04285>