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

Re: svn rollback (Was: Re: svn commit: rev 2162 - ...)

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-06-12 20:15:05 CEST

On Wed, Jun 12, 2002 at 11:08:37AM -0700, David Mankin wrote:
> Maybe "svn rollback" can be a command that just prints a useful tutorial
> on svn merge. It can show that if you want to rollback TO a certain
> version, you use _____ and if you want to rollback the change IN a
> certain version you use ____. Then it meets everybody's expectaions
> (except if they expected it to work...).

that's what perforce does with their 'p4 help move' (or rename, i
forget). it just tells you how to use 'p4 integrate' to fake it.
that annoys me every time i have to rename a file at work. if there's
going to be a way to do something that people would want to do, and
it's at all non-obvious how one would do it, then we should provide
the command, assuming it's not a lot of code to do it.

i mean come on, we're talking about one file for 'rollback' (which i
just rewrote to work like everyone other than me assumed it should,
i'll commit it if we decide we want the command), that's about 100
lines, much of which is the header.

if we also want 'undo', which would do what my original rollback does,
that's another 100 lines of client code. it's nothing at all, and
makes life easier for the user.

-garrett

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 12 20:15:39 2002

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