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

Re: cannot rename versioned package

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-09-27 14:31:20 CEST

news <news@sea.gmane.org> wrote on 09/27/2005 06:16:22 AM:

> > I have a package de.unituebingen.sfs.macke.trees, containing three
> > classes. I want to rename it to de.unituebingen.sfs.macke.sentences.
> > The refactoring works fine, but committing does not work, it gives the

> > error:
> > commit -m "introducing sentences instead of trees" -N
> > /home/hendrik/workspace/MSO/de/unituebingen/sfb/macke
> > /home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/sentences
> > /home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/trees
> >
/home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/trees/BranchingTree.java

> >
/home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/trees/LeafTree.java
> > /home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/trees/Tree.java
> > Trying to use an unsupported feature
> > svn: Cannot non-recursively commit a directory deletion
> >
> > What is going wrong here?
>
> When I tried to revert, I got a similar error, saying:
> revert -N
>
/home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/sentences/BranchingTree.java
> Path is not a working copy directory
> svn:
>
'/home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/sentences/BranchingTree.java'

> is not a working copy
>
>
> But in the main time I found out: it worked by committing only the
> deleted package first, then doing another commit for the added package
> and its contents. I think this really is a bug in subclipse.
> Any pointer to a bugtracking database?

I am not convinced that this is a bug in Subclipse. Subversion has a fair
number of its own limitations in its API and this sounds more like
something on that end. If you want to pursue this more you need to
provide a complete step by step of what you are doing. You should show
the Console view while doing this and record any svn operations that are
logged.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Tue Sep 27 22:31:20 2005

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.