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

RE: Cannot commit directory deletion (was Re: cannot rename versioned package)

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2005-09-27 14:40:25 CEST

Hi Mark,

TortoiseSVN suffers from the same issue. The problem is the -N on the
commit (which you need to keep control) - if deleting a directory -N is
explicitly
prohibited. To work around this I always have to skip the directory
deletion
and do that bit in a separate checkin from the command line.

Cheers,

Ian Brockbank
Applications Software Team Leader
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
  

 

> -----Original Message-----
> From: Mark Phippard [mailto:MarkP@softlanding.com]
> Sent: 27 September 2005 13:31
> To: users@subclipse.tigris.org
> Subject: Re: cannot rename versioned package
>
> 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/Br
> anchingTree.java
>
> > >
> /home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/trees/Le
> afTree.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/sentence
> s/BranchingTree.java
> > Path is not a working copy directory
> > svn:
> >
> '/home/hendrik/workspace/MSO/de/unituebingen/sfb/macke/sentenc
> es/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.
> ______________________________________________________________
> _______________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
> ______________________________________________________________
> __________
>
Received on Tue Sep 27 22:40:25 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.