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

Re: Bug: svn revert annoys the user by behaving differently from all other commands

From: Patrick Burleson <pburleson_at_gmail.com>
Date: 2005-03-18 21:51:29 CET

On Fri, 18 Mar 2005 15:47:20 -0500, Scott Palmer
<scott.palmer@2connected.org> wrote:
> I agree with you except for the argument of it being dangerous for rm
> to be recursive... non-recursion doesn't even make sense in the context
> of rm. When you rm a file there is nothing to recurse into. When you
> rm a directory, if successful, implicitly all the children of that
> directory go with it. Basically rm has to by definition always be
> recursive. :)
>
> Scott

But in it's current state, rm warns you that you are hitting a
directory unless you pass the -r flag. Mostly because from the command
line, without doing a ls -l, you can't tell what's a directory and
what isn't.

This is the behavior of revert. Which I think is important since it
does destroy data.

Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 18 21:56:01 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.