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

[Subclipse-users] Subclipse loses sync with working copy when SVN operations are done from outside of eclipse

From: Nick Penteado <npenteado_at_ces-landtec.com>
Date: 2006-10-12 00:46:09 CEST

Hello all,

I've been having trouble with subclipse apparently losing sync with my
svn working copy. This happens if I modify my working copy from outside
of eclipse, using either SVN cli or TortoiseSVN. Once this is done, my
working copy can no longer be checked in/updated/switched/reverted/etc
from within eclipse. The thing that leads me to believe that subclipse
is the culprit is that svn operations still work fine from outside of
eclipse. The only way that I've found to get my working copy
committable from within eclipse is to delete the project, then do an
import from svn... dump the whole folder then start again from the
repository. Is there a way to rebuild any metadata being used by
subclipse? I'm assuming that subclipse needs to store extra information
about the working copy that is not included in the normal .svn folders.
Any help would be most appreciated! Thanks in advance.

 

Here's my details...

 

Environment:

Window XP SP2

Eclipse v3.2

Subclipse v1.1.7 (using JavaHL)

Subversion repository (on a local server) v1.3.1

Subversion client (on my machine) v1.4.0

TortoiseSVN 1.4.0 Build 7501 32bit

 

 

Steps to reproduce:

1. from eclipse, import an existing project from a svn repository
2. make a change to a file that is part of the project you just
imported, save changes
3. close eclipse
4. from the command line, goto the folder you just checked out
5. using the svn command, revert the changes (or any other
operation that modifies your working copy, such as commit, editing
properties, switching branches, etc...)
6. reopen eclipse
7. try to run an "update" on the project

 

note, the same issue occurs using TortoiseSVN (seen this behaviour on
every version I've used, since 1.3...)

 

Observed Results:

An error dialog box is displayed stating that my project folder is not
under version control.

After you get the error, the team menu only allows (everything else is
greyed out): commit, create patch..., apply patch..., add to version
control, revert, configure branches/tags, disconnect

 

Console dump:

update -r HEAD D:/src/EnviroComp/Aems/DataImporter

    svn: 'D:\src\EnviroComp\Aems\DataImporter' is not under version
control

 

If you refresh the package explorer the svn decorators all turn into ?'s

 

Svn operations still work fine using both svn cli and TortoiseSVN, so
there is nothing wrong with my working copy

 

 

Nick Penteado

Software Developer

CES-Landtec

(909) 783-3636 x6560

npenteado@ces-landtec.com

 
Received on Thu Oct 12 00:50:32 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.