Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 20:51:19 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Mike Makonnen <mtm@identd.net>, sgk@troutmask.apl.washington.edu, current@FreeBSD.ORG
Subject:   Re: Seat-belt for source upgrades from stable to current
Message-ID:  <20030201045119.GA18101@HAL9000.homeunix.com>
In-Reply-To: <20030201041710.GA57006@gothmog.gr>
References:  <20030129191822.GO78848@starjuice.net> <p05200f31ba5e4c0bbc26@[128.113.24.47]> <20030131120311.F16630@aurema.com> <20030131030916.GA11445@HAL9000.homeunix.com> <20030131034043.GA53996@troutmask.apl.washington.edu> <20030131040506.GA11769@HAL9000.homeunix.com> <20030131043320.RQRP10203.pop017.verizon.net@kokeb.ambesa.net> <20030131053832.GA11988@HAL9000.homeunix.com> <20030201041710.GA57006@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Giorgos Keramidas <keramida@ceid.upatras.gr>:
> On 2003-01-30 21:38, David Schultz <dschultz@uclink.Berkeley.EDU> wrote:
> > Thus spake Mike Makonnen <mtm@identd.net>:
> > > Use the r version of the cvs commands (like cvs rlog and rdiff). They operate on
> > > the repository remotely, so you don't need to have the files checked out localy.
> >
> > That's a pretty good solution, and I use those occasionally.  It
> > would be a perfect solution if there were an 'rupdate', so I don't
> > have to (cd /tmp; cvs co src/file/i/want.c)
> > 	&& cp /tmp/src/file/i/want.c /where/i/want/it
> > 	&& rm -rf /tmp/src
> > all the time.
> 
> 	# cd /tmp
> 	# cvs -d 'repo magic' export -rHEAD src/file/i/want.c
> 
> Does `cvs export' do the trick for you?

Actually, 'cvs export' does the opposite of what I want to do.
But thank you for mentioning it, because it's a good way to
explain what I'm trying to do, so people don't keep assuming that
my problem is not knowing how to use CVS.

	'cvs checkout': create a copy of the sources AND CVS's
			administrative directories

	'cvs export': just create a copy of the sources

	What I want to do: just create the administrative directories

I'm aware that making CVS magically discover what version I have
is a bit much to ask for, so I'm willing to tell it what tag to
use.  Unfortunately, I don't think the facility I want exists, but
I'm going to try to implement a workaround when I have a moment.

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




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