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

[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: jcompagner <jcompagner_at_gmail.com>
Date: Wed, 1 Dec 2010 11:30:00 +0100

Hi,

this is my svn log:

commit -m "if intermediate == 0 then go to that version and not the
latest release"
C:/workspace_trunk/j2db_server/src/com/servoy/j2db/server/util/VersionCheck.java
    Sending
C:/workspace_trunk/j2db_server/src/com/servoy/j2db/server/util/VersionCheck.java
    Transmitting file data ...
    Committed revision 30054.
update C:/workspace_trunk/j2db_server -r 30052 --force
    U C:/workspace_trunk/j2db_server/src/com/servoy/j2db/server/util/VersionCheck.java
    U C:/workspace_trunk/j2db_server/src/com/servoy/j2db/dataprocessing/ClientManager.java
     U C:/workspace_trunk/j2db_server
    Updated to revision 30052.
    ===== File Statistics: =====
    Updated: 2
    ==== Property Statistics: =====
    Updated: 1

I made a change in a file VersionCheck.java and committed that.

Then i did a synchronize (or maybe that was done earlier) and i
started updating incoming changes
now subclipse sends the command:

update C:/workspace_trunk/j2db_server -r 30052 --force

and what do i see i get

    U C:/workspace_trunk/j2db_server/src/com/servoy/j2db/server/util/VersionCheck.java

back... Why is that? this is the version before mine, so now it roll
backed changes that i did.
That VersionCheck file was not touched in that 30052 commit that was
only ClientManager and the project/dir itself (properties)

I rather don't want my own files to be overwritten to an older version
if i do an update of a project dir..
if i do now an update:

update C:/workspace_trunk/j2db_server/src/com/servoy/j2db/server/util/VersionCheck.java
-r 30054 --force
    U C:/workspace_trunk/j2db_server/src/com/servoy/j2db/server/util/VersionCheck.java
    Updated to revision 30054.
    ===== File Statistics: =====
    Updated: 1

i get my file back, but this could be confusing for people (and i do
have reports of people using our eclipse product and svn telling me
they did "loose" there changes)

johan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-12-01 11:30:27 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.