cvs question

Greg Larkin glarkin at sourcehosting.net
Mon Jan 21 12:57:29 PST 2008


> -----Original Message-----
> From: owner-freebsd-hackers at freebsd.org 
> [mailto:owner-freebsd-hackers at 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/





More information about the freebsd-hackers mailing list