View Issue Details

IDProjectCategoryView StatusLast Update
0003555JEDI VCSClient (Gui)public2008-11-15 06:37
ReporterogecromAssigned ToTHuber 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version2.40 (First JVCS release) 
Target VersionFixed in VersionREL_2.5.0.1030 
Summary0003555: Deletion on rename and checkout
Description> A small test case:
>
> Step 1 - rename a file "a.txt" to "b.txt"using the menu option "Module /
> Rename..."
> Step 2 - rename the file in file system throught explorer to "b.txt"
> Step 3 - create a new file "a.txt" at the same directory
> Step 4 - checkout "b.txt" in JVCS
>
> The step 4 will delete the new "a.txt" file.
>
> This is a bug or the expected behaviour?
 
It is both.
As long as you don't check "Don't overwrite local file" the local file
will be overwritten on check out. The zipfile of the latest revision
does contain the filename "a.txt". The zipfile will be extracted to
"a.txt" and renamed to "b.txt".
After reviewing the code it seams that it was a leak of the formerly
used zip component - it was not possible to extract the content to
another filename.
The workaround has still survived the migration to Abbrevia.
TagsNo tags attached.
Fix in JVCS version
Releasedocumentationhistory

Relationships

child of 0003475 closedTHuber Releaseinfo: 2.41 gui client issues 

Activities

THuber

2006-03-14 17:57

developer   ~0008666

with abbrevia it's now possible to checkout/sync in one step to the recent filename. One little tweak is left if working in developer teams. With the current implementation the old file will be deleted on first synchronisation if synchronisation happens between rename and first change.
As this behaviour is random, it's better to extract with recent filename and leave responsibility to delete 'old' files to the developer.
Maybe a clean function which deletes all not checked in files in directories may help in this case.

Issue History

Date Modified Username Field Change
2006-03-04 07:22 ogecrom New Issue
2006-03-04 11:57 USchuster Relationship added child of 0003475
2006-03-14 17:51 THuber Status new => assigned
2006-03-14 17:51 THuber Assigned To => THuber
2006-03-14 17:57 THuber Note Added: 0008666
2006-03-15 16:29 THuber Releasedocumentation => history
2006-03-15 16:29 THuber Status assigned => resolved
2006-03-15 16:29 THuber Fixed in Version => 2.50
2006-03-15 16:29 THuber Resolution open => fixed
2008-11-15 06:37 THuber Status resolved => closed