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

Re: Revert has no implicit dot-target.

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-07-10 19:24:59 CEST

On Wed, Jul 10, 2002 at 10:20:51AM -0700, Justin Erenkrantz wrote:
> subversion/clients/cmdline/revert-cmd.c:51
>
> /* Revert has no implicit dot-target `.', so don't you put that code here! */
>
> Is this *really* what we want? (I'll prod in the direction that
> revert should have an implicit dot-target.)
>
> Even if we don't have an implicit dot-target, should we add a note
> in 'svn help revert'? -- justin

i believe the justification is that revert can cause one to lose data,
so we are protecting a user from their own carelessness by requiring
them to say exactly what they mean.

mentioning it in the help output seems like a good idea though.

-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 Jul 10 19:25:30 2002

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.