Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 21:24:53 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        Juli Mallett <jmallett@FreeBSD.ORG>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, 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:  <20030201052453.GC18101@HAL9000.homeunix.com>
In-Reply-To: <20030131210320.A2834@FreeBSD.org>
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> <20030131210320.A2834@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Juli Mallett <jmallett@FreeBSD.ORG>:
> * De: Giorgos Keramidas <keramida@ceid.upatras.gr> [ Data: 2003-01-31 ]
> 	[ Subjecte: Re: Seat-belt for source upgrades from stable to current ]
> > 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?
> 
> Further, export -d somedir might be useful in this situation to get the
> files where you want them, though sometimes -d does not DWIM, so I'm
> not sure :)

That works when the revision has a symbolic tag associated with
it, but export seems to be picky and won't do numeric revision
numbers of particular files.  I guess I could always go by date.
And yes, -d is picky, too; you can't export into your working
directory.  Still, not bad...

It doesn't address the entire problem I mentioned before, because
I still want to do diffs between local revisions and the
repository.  This thread is just a subthread of the original
thread in which I guess we're talking about how to do a 'cvs
update' without a copy of the repository.  (Sorry Giorgos, your
idea actually works for updates, just not for the original
question I was asking.  I was confused.  ENOSLEEP.)

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?20030201052453.GC18101>