| Summary: | [Operations] switching back to branch forgets added files | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Rafael Chaves <eclipse> |
| Component: | CVS | Assignee: | platform-cvs-inbox <platform-cvs-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Rafael Chaves
The "switch" operation doesn't touch new files, that is the power of it. The next time you synchronize the "additions" should appear as conflicts. But any new addition you added to your workspace while connected to HEAD, should also still appear and allow you to commit to the branch. Switching allows making changes, going to another branch without loosing the changes and committing. But we don't synchronize for free when the switch occurs. This is raw CVS behavior. Did you see the conflicts after synchronizing? The problem was that the files in question were added to version control before the switch but did not have a tag in the entry file. In the sync view, they appear as outgoing additions. Committing them put them in HEAD and not in the branch. The switch should have changed the tag on these files but did not. Also, there was no indication in the sync view that the files were on HEAD. If they are added to HEAD before the switch... good luck :) So the switch doesn't change the tags on only added files. |