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

Re: Deleting files outside Eclipse

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-08-09 15:00:48 CEST

Řyvind Harboe <oyvind.harboe@zylin.com> wrote on 08/09/2005 08:55:39 AM:

> On Tue, 2005-08-09 at 08:35 -0400, Mark Phippard wrote:
>
> > These are Subversion issues, not Subclipse. What you need to do is
change
> > your scripts to use Subversion commands. In other words do not just
> > delete or move files, run svn delete and svn move and svn copy etc...
Then
> > Subversion will know about your changes, and so will Subclipse.
>
> The scripts are not mine to change.
>
> > You still
> > need to refresh when you go back into Eclipse so that Eclipse knows
about
> > the changes.
>
> Understood.
>
> Is there a way to type subversion commands from inside Eclipse or do I
> need to install a seperate client?
>
> Basically a way for mere mortals to feed the underlying JavaSVN (or
> other) with commands directly.
>
> It would be nice if Subclipse was self contained as Eclipse CVS is.
>
> Obviously at some point a seperate CVS & subversion command line client
> would be required, but deleting files isn't *that* far of the beaten
> path.
>
> Subclipse supports deleting files via subversion, the only problem is
> that there is no file to select delete on anymore, except in the
> Team->Synchronize view where the file to be deleted can still be
> identified where it is listed as incoming instead of deleted.

You are missing a key point. When you use Subversion, you need to allow
Subversion to "own" your working copy. Subversion is not file-based like
CVS, it is tree-based. So it needs full control of the tree. You cannot
use the operating system delete, move, copy, rename etc.. commands within
the WC. You have to use the Subversion commands. There is no way to use
the OS command first, and then "tell" Subversion about it later.

In Eclipse, with Subclipse, we capture all of the Eclipse commands like
copy, delete, move and route then through the Subversion commands for you.

There is no way around this. Subclipse has to live by the rules that are
established by Subversion. Your only option is to either modify or not
use these scripts.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Tue Aug 9 23:00:48 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.