[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: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 23 Jan 2008 08:32:53 -0500

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.

Try doing the relocate using the command line or change Subclipse to
use JavaHL before your next relocate.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-23 14:33:17 CET

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