Bug 19918 - DESCRIPTION change flag and Project.move
Summary: DESCRIPTION change flag and Project.move
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P1 normal (vote)
Target Milestone: 2.0 F3   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-11 12:53 EDT by DJ Houghton CLA
Modified: 2002-06-11 21:04 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2002-06-11 12:53:14 EDT
build 2002-06-10.

When you move a project, the DESCRIPTION change flag is not set. Here are the 
deltas which are generated:

Doing a project rename: (aaa to bbb)

/[*]: {}
/aaa[-]: {MOVED_TO(/bbb)}
/aaa/.project[-]: {MOVED_TO(/bbb/.project)}
/aaa/foo.txt[-]: {MOVED_TO(/bbb/foo.txt)}
/bbb[+]: {MOVED_FROM(/aaa) | OPEN}
/bbb/.project[+]: {CONTENT | MOVED_FROM(/aaa/.project)}
/bbb/foo.txt[+]: {MOVED_FROM(/aaa/foo.txt)}

Doing a project move: (bbb from default for c:/temp/bbb)

/[*]: {}
/bbb[*]: {}
/bbb/.project[*]: {CONTENT}
Comment 1 Kevin McGuire CLA 2002-06-11 14:31:24 EDT
This is consistent with what I saw, the add/remove for rename but not for move.
Comment 2 DJ Houghton CLA 2002-06-11 17:58:21 EDT
Fixed.

Doing a project move: (bbb from c:/temp/bbb to default location)

/[*]: {}
/bbb[*]: {DESCRIPTION}
/bbb/.project[*]: {CONTENT}

Doing a project rename: (bbb to aaa)

/[*]: {}
/aaa[+]: {MOVED_FROM(/bbb) | OPEN | DESCRIPTION}
/aaa/.project[+]: {CONTENT | MOVED_FROM(/bbb/.project)}
/aaa/foo.txt[+]: {MOVED_FROM(/bbb/foo.txt)}
/bbb[-]: {MOVED_TO(/aaa)}
/bbb/.project[-]: {MOVED_TO(/aaa/.project)}
/bbb/foo.txt[-]: {MOVED_TO(/aaa/foo.txt)}
Comment 3 DJ Houghton CLA 2002-06-11 21:04:32 EDT
Fixed. Tested. Released.