[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: Ben Collins <bcollins_at_debian.org>
Date: 2002-07-10 19:30:02 CEST

On Wed, Jul 10, 2002 at 01:24:59PM -0400, Garrett Rooney wrote:
> 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.

I would say that doing "svn revert --recursive" should have an implicit
dot-target though. "svn revert" should fail as it already does.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
---------------------------------------------------------------------
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:43:44 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.