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

Re: Redundant error message

From: plasma <plasmaball_at_pchome.com.tw>
Date: 2003-07-17 17:07:54 CEST

On Tue, Jul 15, 2003 at 10:10:00AM -0400, Garrett Rooney wrote:
> Michael Schmitt wrote:
> >Hello,
> >
> >the following error message is a bit redundant (lines 2 and 3).
> >
> >svn: Attempting restricted operation for unversioned resource
> >svn: Use --force to override this restriction
> >svn: Pass --force to override this restriction
> >svn: 'Applications/10_03.pdf' is not under revision control
>
> If you don't tell us how you got that error message, it will be a bit
> difficult to fix it.
>

I happened to run into this situation today:

> svnadmin create SVN
> svn co file://`pwd`/SVN svn
> svn mkdir svn/dir
> svn mv svn/dir svn/dir2
  subversion/clients/cmdline/delete-cmd.c:47: (apr_err=195006)
  svn: Attempting restricted operation for modified resource
  svn: Use --force to override this restriction
  subversion/libsvn_client/copy.c:148: (apr_err=195006)
  svn: Pass --force to override this restriction
  subversion/libsvn_client/delete.c:104: (apr_err=195006)
  svn: 'svn/dir' has local modifications

Now you have the file name and line number. :)

In my opinion, the simplest solution is just resend the error without
wrapping it with another error in delete-cmd.c. libsvn_client already
does it.

plasma

==========================================================
 你刷卡,VISA幫你買單
 http://edm-prg.epaper.com.tw/click.php?ad_code=15650
==========================================================
 PChome線上購物週年慶:抽汽車、DV天天送
 http://shopping.pchome.com.tw/
==========================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 17 17:09:11 2003

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.