Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Apr 1999 17:25:23 -0500 (EST)
From:      John Baldwin <jobaldwi@vt.edu>
To:        Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
Cc:        freebsd-questions@freebsd.org, John Baldwin <jobaldwi@vt.edu>
Subject:   RE: cvsup question...
Message-ID:  <XFMail.990401172523.jobaldwi@vt.edu>
In-Reply-To: <XFMail.990401234424.asmodai@wxs.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On 01-Apr-99 Jeroen Ruigrok/Asmodai wrote:
> On 01-Apr-99 John Baldwin wrote:
>> I have a cvsup question.  I use CVSup to update a local copy of the CVS
>> repository on one of my machines.  In order to avoid a really big hit the
>> first time I supped, I tar and gzip'd a copy of the repository off of a
>> machine at work and ftp'd to my machine.  Then I extracted it and fired
>> up cvsup. It works for the most part, but not always.  Here's teh problem,
>> it doesn't delete any of those files from the original tarball when they
>> are removed from the repository because it didn't create my local copies
>> of the files, and it is courteous enough to not delete them in case I am
>> making local changes or something.  However, I'm not making local changes
>> and want to override this behavior if possible.  Any suggestions on how
>> to get my source tree really up-to-date?
> 
> Is 
> 
> *default delete 

Yes, here's the problem:

> man cvsup
   ... 
     delete      The presence of this keyword gives cvsup permission to delete
                 files.  If it is missing, no files will be deleted.
   ...
                 In general, CVSup deletes only files which are known to the
                 server.  Extra files present in the client's tree are left
                 alone, even in exact mode.  More precisely, CVSup is willing
                 to delete two classes of files:
                 o   Files that were previously created or updated by CVSup
                     itself.
                 o   Checked-out versions of files which are marked as dead on
                     the server.
   ...

It does this to allow local modifications to be kept in the tree.  The problem
is that it thinks my initial repository is one big, huge local modification and
there doesn't seem to be a way to turn this feature off.

> present in your cvsup file?
> 
> That one functions like cvs -P which prunes old/removed files/directories.
> 
> HTH,

Thanks for trying, hope this makes my problem clearer.

> Jeroen Ruigrok van der Werven     <http://www.freebsdzine.org>; 

---

John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/
PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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