[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 19:30:49 CET

On Wed, Jan 30, 2002 at 07:31:32PM +0100, Sander Striker 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
> >
> > Or you could use 'svn merge' command, which will be something
> > extremely similar.
>
> I can't remember what we defined rollback as, but if it would
> look something like this:
>
> svn rollback [<path>] [--recursive] <revision>
>
> that would be very cool. Anyone care to refresh my memory?

i believe the current plan is something like that, but there are also
people who disagree, and think that rollback should physically remove
changes from the repository itself. i'm not one of those people, but
they do exist.

-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.