View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003555 | JEDI VCS | Client (Gui) | public | 2006-03-04 07:22 | 2008-11-15 06:37 |
Reporter | ogecrom | Assigned To | THuber | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.40 (First JVCS release) | ||||
Target Version | Fixed in Version | REL_2.5.0.1030 | |||
Summary | 0003555: 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. | ||||
Tags | No tags attached. | ||||
Fix in JVCS version | |||||
Releasedocumentation | history | ||||
|
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. |
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 |