Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 15:12:41 -0500
From:      "Greg Larkin" <glarkin@sourcehosting.net>
To:        "'Aryeh M. Friedman'" <aryeh.friedman@gmail.com>, <freebsd-hackers@freebsd.org>
Subject:   RE: cvs question
Message-ID:  <003e01c85c69$fa35cb10$0c01a8c0@FIREBALL>
In-Reply-To: <4794F175.5040708@gmail.com>
References:  <4794F175.5040708@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: owner-freebsd-hackers@freebsd.org 
> [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Aryeh 
> M. Friedman

> I maintain a local repo of the via the cvs mode of cvsup.   
> When I do a:
> 
> cvs -q -d /home/ncvs update
> 
> It will update any modified files but will not add any new 
> files (it removes stale ones), but if I do a checkout it 
> overwrites my local modifications... any way to automatically 
> add new files but preserve local mods?

Hi Aryeh,

Give this a try:

cvs -q -d /home/ncvs update -d

The -d option given to the update subcommand builds directories the way cvs
checkout does.  Without it, update will only operate on directories that are
already in your sandbox.

Regards,
Greg Larkin
SourceHosting.net, LLC
http://www.sourcehosting.net/






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003e01c85c69$fa35cb10$0c01a8c0>