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

Re: [Subclipse-users] "Filesystem has no item" error when committing renamed file, Subclipse 1.1.8, Eclipse 3.2.0

From: Danny Manners <danny.manners_at_gmail.com>
Date: 2006-11-06 22:59:36 CET

After further investigation, I don't think this is a Subclipse issue as
such.

Commit of a renamed file works fine for me when it's to a normal Subversion
(1.2.0) repository. I'm getting the problem only when I try to commit to a
repository that was created by SVK, even though it's being served up by the
same (1.2.0) version of Subversion.

Thanks for your help.

On 04/11/06, Mark Phippard <markp@softlanding.com> wrote:
>
> "Danny Manners" <danny.manners@gmail.com> wrote on 11/03/2006 10:14:54 PM:
>
> > Subclipse 1.1.8, Eclipse 3.2.0
> >
> > If I rename a (managed) file, using F2 or Refactor/Rename in the Package
>
> > Explorer, and then commit, I get:
> > org.tigris.subversion.javahl.ClientException: Filesystem has no item
> >
> > In an example where Fun.java was renamed to Funnier.java, the console
> shows:
> >
> > move C:/workspace/svn-bug-test/src/other/Fun.java C:/workspace/svn-bug-
> > test/src/other/Funnier.java
> > A C:/workspace/svn-bug-test/src/other/Funnier.java
> > D C:/workspace/svn-bug-test/src/other/Fun.java
> > commit -m "Renamed Fun to Funnier - works?" C:/workspace/svn-bug-
> > test/src/other/Fun.java C:/workspace/svn-bug-test/src/other/Funnier.java
> > Deleting workspace/svn-bug-test/src/other/Fun.java
> > Adding workspace/svn-bug-test/src/other/Funnier.java
> > Transmitting file data ...
> > Filesystem has no item
> > svn: Commit failed (details follow):
> > svn: File not found: revision 3219, path '/uksdvsv:3691/svn-bug-
> > test/src/other/Fun.java'
>
> There has to be more to this and I do not think it could be a Subclipse
> problem anyway. Our only involvement is executing API's. The Console
> output would support that we executed the correct API's. I just tried it
> to see if there was a bug in JavaHL or something. It worked for me. Here
> is my output:
>
> move C:/workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2.java
> C:/workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2New.java
> A C:/workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2New.java
> D C:/workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2.java
> commit -m "Test move"
> C:/workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2.java
> C:/workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2New.java
> Deleting workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2.java
> Adding
> workspaces/subclipse-trunk/SimpleJava/src/com/mark/Test2New.java
> Transmitting file data ...
> Committed revision 1209.
>
> JavaSVN also worked, but I can tell from your output that you are using
> JavaHL.
>
> FWIW, I think the reason you get the error is that Funnier is created by
> copying Fun. When you did the move, the revision of Fun in your WC was
> recorded in the metadata for Funnier. Presumably this was r3219. Since
> it existed in your working copy at that revision, it also had to exist in
> the repository. This really doesn't make much sense. Is it possible the
> parent folder no longer exists? You could try doing the update action
> before commit.
>
> Mark
>
>
Received on Mon Nov 6 22:59:45 2006

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

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