Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 22153

Summary: database corruption, simple test case to trigger
Product: z_Archived Reporter: Florin Iucha <florin>
Component: StellationAssignee: Mark C. Chu-Carroll <mcc>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: florin
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 22135    

Description Florin Iucha CLA 2002-08-04 19:47:33 EDT
Considering the following session:

florin@bee:~$ cd /tmp/
florin@bee:/tmp$ mkdir aaa
florin@bee:/tmp$ svc create bomb
Enter a comment:
ddddd
bomb
florin@bee:/tmp$ cd aaa/
florin@bee:/tmp/aaa$ svc checkout bomb
touch theflorin@bee:/tmp/aaa$ touch the_file
florin@bee:/tmp/aaa$ svc add the_file
cat 0 florin@bee:/tmp/aaa$ echo 0 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 1 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 2 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 3 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 4 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 5 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 6 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ echo 7 >> the_file
florin@bee:/tmp/aaa$ svc checkin -c "aaaa"
florin@bee:/tmp/aaa$ svc checkout bomb -revi main@@1
Could not find branch evi for project bomb in repository stellation
florin@bee:/tmp/aaa$ svc checkout bomb --revi main@@1
florin@bee:/tmp/aaa$ cat the_file
1
2
3
4

The contents of the file should be
0
1
Comment 1 Mark C. Chu-Carroll CLA 2002-08-14 10:58:10 EDT
Fixed by new text schema.