Bug 237204 - SVN replaces files with second last revision after commit
Summary: SVN replaces files with second last revision after commit
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Core (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 241572 241941 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-14 18:04 EDT by Fabricio Silva CLA
Modified: 2008-07-29 11:24 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabricio Silva CLA 2008-06-14 18:04:49 EDT
Build ID: M20070921-1145

Steps To Reproduce:
1. User modifies some files.
2. After synchronizing, there are files to be updated (commited by another user) and files to be commited (modified on step 1)
3. User commits the whole project
4. User updates the whole project
5. Files modified in step 1 that were commited are now with the second last revision (before modifications). If the user synchronizes again, these files appear as to be updated, commited by our main user (himself). After updating the whole project, files are in the last revision state.
6 Note: If user opts to update the project before committing, no problem arises.

More information:
We have about 20 developers, all of them using MyEclipse 6.0.1 (Eclipse 3.3.1 with lastest Subversion and SVNKit 1.x versions). SVN server is the lastest 1.4.x version.
Comment 1 Alexander Gurov CLA 2008-06-24 10:48:03 EDT
The problem is happened because Synchronize View restricts update by revisions which are received from server in time of synchronization in order to update only changes which are approved by user. Unfortunately committed files' revisions are greater than revisions stored in Synchronize View, so the files committed are updated back to the revisions stored in Synchronize View. The only one possible solution for this problem is to perform updates to HEAD revision Synchronize View stored resources. The bad side of this fix is that you do not know exactly what you get after performing an update from a Synchronize View.

Fix will be available in the weekly build.
Comment 2 Alexander Gurov CLA 2008-07-24 07:37:27 EDT
*** Bug 241941 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Gurov CLA 2008-07-29 11:24:14 EDT
*** Bug 241572 has been marked as a duplicate of this bug. ***