You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Michael Schmitt <sc...@TI.Uni-Trier.DE> on 2003/07/15 13:05:48 UTC
Redundant error message
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
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Redundant error message
Posted by plasma <pl...@pchome.com.tw>.
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
==========================================================
�A��d,VISA���A�R��
http://edm-prg.epaper.com.tw/click.php?ad_code=15650
==========================================================
PChome�u�W�ʪ��g�~�y�G��T���BDV�ѤѰe
http://shopping.pchome.com.tw/
==========================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Redundant error message
Posted by Michael Schmitt <sc...@TI.Uni-Trier.DE>.
Garrett Rooney wrote:
> Michael Schmitt wrote:
>
>> 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.
*smile* (This proves that the error messages are rather cryptic,
doesn't it?)
Ok, I executed
svn move OldDir NewDir
when there were unversioned files in OldDir.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Redundant error message
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
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.
-garrett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org