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

Re: [Subclipse-users] does subclipse send the wrong update command or is this just how svn works? (own commit overwritten and then i can update it back in)

From: Andreas Haferburg <haferbur_at_inf.fu-berlin.de>
Date: Wed, 01 Dec 2010 14:09:06 +0100

On 12/1/2010 11:30 AM, jcompagner wrote:
> Then i did a synchronize (or maybe that was done earlier) and i
> started updating incoming changes
> now subclipse sends the command:

I don't know if I understand correctly, but I think you're saying that
you did an update from within the Synchronize view, and got a different
revision than what you expected.

Please note that the Synchronize view does not have an "Update to HEAD"
action, but just "Update". When you synchronize with the repository, it
synchronizes with whatever revision HEAD points to at that time, which
apparently was 30052 in your case. You then committed, which made HEAD
point to 30054. But if you update from within the Synchronize view, it
updates to whatever you synchronized with, which is 30052.

Just yesterday I stumbled upon that and realized that that's a very
useful feature of Subclipse. Let's say you synchronize, go through all
the changes one by one, then finally decide that you can safely update.
In the meantime, someone else commits something that would conflict with
your local changes. Would you really want Subclipse to update to HEAD in
this case? I sure don't.

Cheers
Andreas

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2686958

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-12-01 14:09:21 CET

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.