[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Backing out changes: the prefered method?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-01-30 20:13:28 CET

On Wed, Jan 30, 2002 at 11:10:38AM -0800, Sean Russell wrote:
 
> An later, Ben Collins-Sussman <sussman@collab.net> wrote:
> > But to answer your question: once we fix this use-case, yes, your
> > algorithm is the right way to back out changes to a file. You would
> > view the log for the *one* file, determine that you want to backdate
> > the file to revision N, and then do something like:
> >
> > svn diff -r N -r HEAD <filename> | patch
> > svn commit
>
> Super, thanks. Could you not also do:
>
> rm <filename>
> svn up -r N <filename>

i suspect that will just tell you that your working copy is out of
date and you need to update before you can commit. but i'm not in
front of a machine with svn on it, so i can't check.

-garrett

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:01 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.