[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: subversion equivalent of 'cvs update -C'



Colin Watson <cjwatson@debian.org> writes:

> On Mon, Oct 14, 2002 at 05:16:34PM -0700, Sean 'Shaleh' Perry wrote:
>> On Monday 14 October 2002 17:11, Colin Watson wrote:
>> > On Mon, Oct 14, 2002 at 03:01:21PM -0700, Brian Nelson wrote:
>> > > Does subversion have an equivalent to the command 'cvs update -C',
>> > > i.e. overwrite locally modified files with the current ones from the
>> > > repository?
>> >
>> > At least from experimentation and reading through the code, it appears
>> > not to. So far I've just been doing the old hack of removing the files
>> > and running 'svn update'. Perhaps file an issue at subversion.tigris.org
>> > to ask that 'svn update -f' do this?
>> 
>> how annoying, I use that feature of cvs quite often.  "nah that was a bad 
>> idea, revert".
>
> 'svn revert'
>
> (So yes, I guess lateral thinking leads to 'svn revert; svn update'.)

Yeah, that'll work.

>> Damn shame it should be moving forward not removing useful features.
>
> I wouldn't be so quick to discount subversion. :) I keep much of my
> home directory in it, and it's behaving very nicely.

Me too.  It seems to be working well so far.  If nothing else, at least
it beats having all those annoying CVS directories lying around...

-- 
People said I was dumb, but I proved them!



Reply to: