On Wed, Jan 30, 2002 at 08:01:13AM -0800, Sean Russell wrote:
> In any case, he did get me to thinking about revisions, and backing out
> changes. In CVS, each file has a version, so if you know a given file has
> version 1.2.3, and you want to remove the last two changes, you can pull out
> 1.2.1. SVN has a single version for the repository. I had thought that I
> would just do an "svn log" on the file, find out the last few times it
> changed, and then perform some sort of "svn up" on it with a given revision
> number. When I tried it, svn log gave me a log that says the file has
> changed by one line for every single revision, so I'm assuming that "log"
> isn't implemented yet. However, is that the way you'd normally go about
> backing out changes?
most of svn log's functionality has been disabled, as the repository
side of it isn't very efficent, so it becomes a very effective denial
of service attach on the server if we turn it on :(
eventually, one will be able to use log to figure this stuff out and
then most likely 'svn rollback' to roll the file back to the desired
rev (unless people decide rollback should really roll back things in
the repository, in which case you will just do the same thing with svn
merge instead).
both rollback and merge are still in the future (although merge is
coming soon), so for now there isn't a really good way to do this. i
imagine one could use svn diff with the proper args to generate the
diff between the current revision and the revision you want to be at,
then apply that, but you still need to figure out what revision you
want, and i don't know how to do that easily.
-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