You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Philip Martin <ph...@wandisco.com> on 2012/01/03 10:14:56 UTC

Re: svn: E235000: In file '..\..\..\subversion\libsvn_client\commit_util.c' line 474: assertion failed ((copy_mode_root && copy_mode) || ! copy_mode_root)

Volker Schöch <vs...@think-cell.com> writes:

> w:\setuptools\subversion\svn.exe copy . http://server.tc.local:8088/svn/shipped/chart/111230_version21158 -m "Tagging version 21158."
>
> This is the reproducible error message:
>
> svn: E235000: In file '..\..\..\subversion\libsvn_client\commit_util.c' line 474: assertion failed ((copy_mode_root && copy_mode) || ! copy_mode_root)
>  
> Triggering the same(?) command interactively using Tortoise 1.7.3 works fine.

What does 'svn info' show for the URL of the working copy?
What does 'svn status' show for the working copy?

-- 
Philip

Re: svn: E235000: In file '..\..\..\subversion\libsvn_client\commit_util.c' line 474: assertion failed ((copy_mode_root && copy_mode) || ! copy_mode_root) - Bayesian Filter detected spam

Posted by Philip Martin <ph...@wandisco.com>.
Volker Schöch <vs...@think-cell.com> writes:

> This solves my problem at hand, but surely svn should not crash in
> this case and either handle it as intended or exit with some helpful
> error message.

Agreed. I've raised issue 4094:
http://subversion.tigris.org/issues/show_bug.cgi?id=4094

-- 
Philip

Re: svn: E235000: In file '..\..\..\subversion\libsvn_client\commit_util.c' line 474: assertion failed ((copy_mode_root && copy_mode) || ! copy_mode_root) - Bayesian Filter detected spam

Posted by Volker Schöch <vs...@think-cell.com>.
Philip,
Thank you for getting back to me.

svn info:
Path: .
Working Copy Root Path: C:\svn_vschoech\dev\chartbranch21000
URL: http://server:8088/svn/dev/chartbranch21000
Repository Root: http://server:8088/svn
Repository UUID: ad1beaad-0fd3-4144-8000-4b573cec81f8
Revision: 44554
Node Kind: directory
Schedule: normal
Last Changed Author: schoedl
Last Changed Rev: 44530
Last Changed Date: 2011-12-23 17:41:04 +0100 (Fr, 23 Dez 2011)

Looking at this info made me aware of the problem: In our infrastructure, "server" and "server.tc.local" are synonymous. My working copy is checked out from "server", but the command that crashes svn refers to "server.tc.local". When I change the command to refer to "server", svn does not crash and the copy is correctly executed.

This solves my problem at hand, but surely svn should not crash in this case and either handle it as intended or exit with some helpful error message.

Thanks again!
   Volker

--
Volker Schöch | vschoech@think-cell.com
Senior Software Engineer

think-cell Software GmbH | Chausseestr. 8/E | 10115 Berlin | Germany
http://www.think-cell.com | phone +49 30 666473-10 | US phone +1 800 891 8091

Amtsgericht Berlin-Charlottenburg, HRB 85229 | European Union VAT Id DE813474306
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl