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

Re: Bug? "svn rm" silently succeeds when given name of non-existent file

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-16 16:39:25 CET

On Mar 15, 2006, at 23:03, Eric Hanchrow wrote:

> Here's how the Unix "rm" works -- if you give it a bogus name, it lets
> you know, and returns a failure code.
>
> $ rm sdlfkj
> rm: cannot remove `sdlfkj': No such file or directory
> $ echo $?
> 1
>
> Now here's what "svn rm" does:
>
> $ svn rm sdlfkj
> $ echo $?
> 0
>
> -- i.e., just the opposite of "rm": no error message, and it returns a
> success code. Is this intentional?

Nope, it's a bug:

http://subversion.tigris.org/issues/show_bug.cgi?id=2269

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 16 16:46:05 2006

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