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

Re: [Subclipse-users] Subclipse 1.1.6 wants to update already deleted files in synchronize view

From: Jens Seidel <jensseidel_at_users.sourceforge.net>
Date: 2006-09-26 16:48:55 CEST

On Tue, Sep 26, 2006 at 10:21:49AM -0400, Mark Phippard wrote:
> Jens Seidel <jensseidel@users.sf.net> wrote on 09/26/2006 10:12:11 AM:
>
> > I tested a recent Subclipse version (1.1.6) together with Eclipse 3.2.1
> M20060921 and
> > noticed that Subclipse wants to readd deleted files from BASE with a
> synchronisation.
> > Outgoing changes are OK but the incoming one are all bogus ...
> > (The commandline version works great and also the stable Subclipse with
> Eclipse 3.2.)
>
> I do not necessarily understand what you are saying is happening. Incoming

Sorry, let me rephrase: I have an up-to-date working copy with local
modifications. Once I try to synchronize against the server Sublipse shows many
incoming changes from the server which do not exist!

All these changes are added files (with history) which I deleted already long
time ago in the past. I really do not want these back and the command line
version of Subversion does nothing during a "svn up" because all my files are
up-to-date.

> deletes have always (or for a long time) shown BASE as the revision. I

Really? OK.

> > I wonder how to specify a directory on the server after deleting the
> Eclipse
> > keyring file? svn+ssh://<my IP>/svn-repository is my repository but I
> can only
> > insert svn+ssh://<my IP> in the key/password dialog.
>
> You should not be entering any URL's into that dialog. You just specify

OK, but the dialog displays wrong settings as the path on the server is missing!

> the path to the file and the passphrase. A change that JavaSVN made was

s/and the passphrase/or the passphrase/ make more sense!

I entered of course my private SSH key!

> that you then get prompted with a second username and password dialog
> where you really just need to use the username field and that is to
> specify a username for the commit, where as the first dialog was purely
> for the SSH credentials.

Ah, this solves my problem. The second dialog shows my username (which I
normally set via the used key on the server in ~/.ssh/authorized_keys) and a
password field. Without entering a password I cannot press the OK button so I
entered my password but did of course not choose "Save Password" to keep it
secret. That's why I was asked for the passwort after each start of eclipse.

I chose now a dummy password and saved it and now it works. Thanks.
The current bahaviour is really not obviously and should be improved.
 
> > org.tigris.subversion.subclipse.core.SVNException: Can't get remote
> resource
> > svn+ssh://<my IP>/svn-repository/project/branches/branch1/src/file.cc at
> revision HEAD
> > at org.tigris.subversion.subclipse.core.commands.
> > GetRemoteResourceCommand.run(GetRemoteResourceCommand.java:62)
> > at org.tigris.subversion.subclipse.core.resources.LocalResource.
> > getRemoteResource(LocalResource.java:315)
> > at org.tigris.subversion.subclipse.core.resources.LocalResource.
> > getLatestRemoteResource(LocalResource.java:300)
> > at org.tigris.subversion.subclipse.ui.subscriber.
> > ShowHistorySynchronizeAction.
>
> This stack trace says that you tried to Show History. This action is
> known to fail on incoming deletes.

I expected an error working on imaginary files :-) I get also errors during
updating incoming files (those which do not exist on the server).

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Sep 26 16:47:55 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.