| Summary: | [Sync Info] Copying folders between projects of the same repository is problematic | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | DJ Houghton <dj.houghton> |
| Component: | CVS | Assignee: | platform-cvs-inbox <platform-cvs-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 | CC: | john.arthorne, simon_kaegi |
| Version: | 3.3 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
|
Description
DJ Houghton
How is this a PDE issue? I thought you might be interested since you did a lot of work to get developing multiple versions of the same bundle to work. :-) I will move to Team and we'll see what Michael thinks. Did you happen to do any copying between projects? That's the only thing I can think of that may have resulted in what you are seeing. Not sure if I was copying or not but I might have been. I was making changes to about.html (and related) files to several bundles at once so I might have been copying things around. Tom and Simon have also mentioned that they've seen similar issues. Simon mentioned that his problem was when he copied files between projects when both projects were in branches. It's doubtful that copying files would be a problem. However, copying folders is almost guaranteed to cause problems if the source and target project are in the same repository. Is there any chance that you copied (or moved) folders. Definitely a possiblity at least for what I was doing. As I recall I was moving the contents of about_files around and may have been copying the whole directory. Yes, I might have also been copying about_files/. Unfortunately, this is caused by the way CVS stores it's meta-data. It is next to impossible to detect the difference between cases were the meta-data should be kept and those for when it should be purged. We may be able to do it by implementing an EFS that was used for all CVS projects but his is a major undertaking. This issue results in lose of data, release of content into the wrong projects, and forced a rebuild of the Eclipse SDK post-RC4. Is it really a P5 priority? What sync-info is being stored? Where is the code to look at? Is there a document or javadoc describing how things work? The problem is that, for CVS. the metadata is stored in the CVS folder inside the folder being moved or copied. So the code in questions is in the Resources plug-in and the Filesystem plug-in. There isn't really an javadoc or Eclipse documentation about this since it is a feature of CVS itself. What I was trying to say in comment 8 is that the best solution I can see would be for CVS/Core to wrap the filesystem for any projects mapped to CVS so that it could exclude the CVS sub-folders from resource operations such as move and copy. John, is there a flag in IResource#copy that says not to copy team private members? I don't see anything off hand... Or do you have other recommendations? Perhaps a post operation listener that trims team private members from the destination? No, no, maybe. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |