Hi Philip,
Thanks for looking into this.

Im trying to create a simple recipe to illustrate the problem.
While I was  creating the recipe this happened.

# Currently I have derek1.txt as a file
[derek.wallace@dublogon1 svn_links]$ l
total 16
drwxrwxr-x  3 derek.wallace Intune Staff 1024 Apr 18 12:26 .
drwxrwxr-x 17 derek.wallace Intune Staff 2048 Apr 16 11:57 ..
-rw-rw-r--  1 derek.wallace Intune Staff    0 Apr 16 12:17 derek1.txt
drwxrwxr-x  2 derek.wallace Intune Staff   80 Apr 18 12:26 folder1

# Delete the file
[derek.wallace@dublogon1 svn_links]$ rm derek1.txt

# Create Link with the same name
[derek.wallace@dublogon1 svn_links]$ ln -s folder1/derek1.txt


[derek.wallace@dublogon1 svn_links]$ l
total 16
drwxrwxr-x  3 derek.wallace Intune Staff 1024 Apr 18 12:27 .
drwxrwxr-x 17 derek.wallace Intune Staff 2048 Apr 16 11:57 ..
lrwxrwxrwx  1 derek.wallace Intune Staff   18 Apr 18 12:27 derek1.txt -> 
folder1/derek1.txt
drwxrwxr-x  2 derek.wallace Intune Staff   80 Apr 18 12:26 folder1

# Tran and commit.
[derek.wallace@dublogon1 svn_links]$ svn ci -m ""
svn: E145001: Commit failed (details follow):
svn: E145001: Entry 
'/scratch-disk4/derek.wallace/IVX8000_trunk_FPGA/test/svn_links/derek1.txt' has 
unexpectedly changed special status
[derek.wallace@dublogon1 svn_links]$



Ill continue to try and create the receipe.

Thx
Derek





-----Original Message-----
From: MARTIN PHILIP [mailto:codematt...@ntlworld.com] On Behalf Of Philip Martin
Sent: 18 April 2012 09:24
To: Derek Wallace
Cc: users@subversion.apache.org
Subject: Re: svn: E235000: error when performin a svn switch with SVN 1.7.4

Philip Martin <philip.mar...@wandisco.com> writes:

> Philip Martin <philip.mar...@wandisco.com> writes:
>
>> Please describe the changes made by the switch.  Running
>>
>>   svn diff --summarive URL_OF_WC URL_OF_SWITCH_TARGET
>>
>> may help.
>
> I think I may have identified it:
>
> svnadmin create repo
> svn import repo/format -mm file://`pwd`/repo/A/f svn co
> file://`pwd`/repo wc ln -s f wc/A/g svn add wc/A/g svn ci -mm wc svn
> pd svn:special wc/A/g rm wc/A/g touch wc/A/g svn ci -mm wc svn up wc
> svn up -r2 wc
> svn: E235000: In file
> '../src-1.7/subversion/libsvn_wc/update_editor.c' line 1583: assertion
> failed (action == svn_wc_conflict_action_edit || action ==
> svn_wc_conflict_action_delete || action ==
> svn_wc_conflict_action_replace)
>
> The problem is a file that gains or loses svn:special, thus changing
> to or from a symlink, without the node being replaced.

An ugly workaround is to delete the problem file to provoke a tree
conflict:

svn cleanup wc
svn rm wc/A/g
svn up -r2
svn revert wc/A/g

This does require that you identify the problem file.

--
Philip

IMPORTANT NOTE: The information in this e-mail (and any attachments) is 
confidential. The contents may not be disclosed or used by anyone other than 
the addressee. If you are not the intended recipient, please notify the sender 
immediately or telephone: +353 (0)1 6204700. We cannot accept any 
responsibility for the accuracy or completeness of this message as it has been 
transmitted over a public network. If you suspect that the message may have 
been intercepted or amended, please call the sender.

Reply via email to