[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: Mark Phippard <markp_at_softlanding.com>
Date: 2006-11-04 14:52:51 CET

"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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Nov 4 14:53:02 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.