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

Re: Can no longer move files after relocate

From: Hendrik Maryns <qwizv9b02_at_sneakemail.com>
Date: Wed, 23 Jan 2008 16:41:34 +0100

Mark Phippard schreef:
> On Jan 23, 2008 10:17 AM, Hendrik Maryns <qwizv9b02_at_sneakemail.com> wrote:
>> Mark Phippard schreef:
>>
>>> On Jan 23, 2008 4:52 AM, Hendrik Maryns <qwizv9b02_at_sneakemail.com> wrote:
>>>> Hendrik Maryns schreef:
>>>>> Hendrik Maryns schreef:
>>>>>> Hendrik Maryns schreef:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I recently moved my svn:// repository from localhost to a machine in the
>>>>>>> same network, called coxorange. In the SVN repository exploring
>>>>>>> perspective, I relocated the repo svn://localhost to svn://coxorange.
>>>>>>>
>>>>>>> Things went fine, I was able to commit and update, make a tag.
>>>>>>>
>>>>>>> Today, I decided to split a Java package in two packages. I made the
>>>>>>> new package, which was initially marked with a '?'. I then tried to
>>>>>>> move the classes over to the package, but Eclipse gives the error
>>>>>>> message
>>>>>>>
>>>>>>> An exception has been caught while processing the refactorying 'Move'.
>>>>>>>
>>>>>>> Reason: Problems encountered while moving resources.
>>>>>>>
>>>>>>> At the same time, the svn console shows the following:
>>>>>>>
>>>>>>> move
>>>>>>> /home/hendrik/workspace/MSO/de/uni_tuebingen/sfb/lichtenstein/binarytrees/Query.java
>>>>>>>
>>>>>>> /home/hendrik/workspace/MSO/de/uni_tuebingen/sfb/lichtenstein/UI/Query.java
>>>>>>>
>>>>>>> svn: Cannot copy to
>>>>>>> '/home/hendrik/workspace/MSO/de/uni_tuebingen/sfb/lichtenstein/UI', as
>>>>>>> it is not from repository 'svn://coxorange/'; it is from
>>>>>>> 'svn://coxorange'
>>>>>>>
>>>>>>> I tried adding the / at the end of the repo name, but this didn't help,
>>>>>>> instead it split up the repo in three different ones for each project,
>>>>>>> but the error message stays the same.
>>>>>>>
>>>>>>> I'd be pleased if someone helped me out of this.
>>>>>> Still nobody?
>>>>>>
>>>>>> I had another problem to which I accidentally found the 'solution': I
>>>>>> was unable to commit changes to the directory
>>>>>> /home/hendrik/workspace/MSO/de/uni_tuebingen/sfb/lichtenstein/binarytrees/.
>>>>>> Turns out it had an uncommitted property change for svn:ignore. By
>>>>>> deleting this property change, I was able to commit normally.
>>>>>> This probably is a bug, but I do not really know how to phrase it,
>>>>>> maybe one of the committers here can pick it up?
>>>>>>
>>>>>> However, the moving of the file is still not possible, still with the
>>>>>> same error.
>>>>> This seems to be a Subversion bug, since I get the same error on the
>>>>> command line. Cross-posting and follow-up to subversion-user, hope to
>>>>> get an answer there.
>>>> No one? I found this: http://svnkit.com/tracker/view.php?id=176, but it
>>>> seems to be Subclipse-specific, where I get it on the command-line also.
>>> If you did the Relocate option using Subclipse (and SVNKit) I imagine
>>> it is possible that SVNKit rewrote your WC using the incorrect URL's
>>> mentioned in that issue, and that is why the command line then gives
>>> the same error.
>> I guess that is indeed the case.
>>
>>> Try doing the relocate using the command line or change Subclipse to
>>> use JavaHL before your next relocate.
>> I tried to, but didn't manage:
>> - Using JavaHL in Eclipse, I tried to disconnect all projects from
>> svn://coxorange, then removed the location and added it again. Then
>> reconnected the project, still the same error occurs. Trying to
>> relocate from svn://coxorange to svn://coxorange/ gives
>
> I would expect you to have to delete the contents and checkout again.

That did it. After committing and making a backup, I checked the
project out again, confirming the overwrite. Now the move worked.

Thanks for your help!
H.

-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

Received on 2008-01-23 17:02:28 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.