CVS - Synchronize option missing from Team menu [message #245734] |
Wed, 16 January 2008 17:12  |
Eclipse User |
|
|
|
Originally posted by: janet.foster.tsunamidevelopment.com
I have added a CVS repository to my project, and checked out files
successfully. But I cannot get anything to show up in a Synchronize view.
If I right-click on a resource, the Team menu only has Apply Patch and
Update Project. "Synchronize" is not there.
If I select the toolbar option "Synchronize", it keeps saying "There are
no CVS resources to synchronize" and the only thing it will do is let me
do is check out all the files again.
How do I get the Synchronize option to work (or appear on the Team menu)?
|
|
|
|
|
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #246003 is a reply to message #245944] |
Sat, 19 January 2008 02:16   |
Eclipse User |
|
|
|
Hi Janet,
Tags and branches are not always there. They are created by you, by one
of you colleagues, by an administrator. But you always have the "HEAD"
branch.
You say you have a tagged branch created for you.
This is how I work with cvs.
1.First I check out everything from HEAD. For a new project this will
create everything I need. The project, the cvs structure. I will be able
to browse the tags and branches of the project.
2.After that I sync to a specified tag or branch using "Replace
With->Another Branch or Version..." from the context menu of the project.
And that`s it. I have my project synced to the branch. Even though you
have first checked out files from HEAD (which in you case is not right)
you have then synced to the branch.
Hope this helps.
Best Regards,
Kiril
Janet Foster wrote:
> Kiril,
> I am using Eclipse version 3.3.1.1. I did not have any decorations or
> CVS file structure anywhere. But I started over and now it is correct
> with the CVS file structure and full CVS options available under the
> Team menu (Commit, Synchronize, etc.).
> What I did differently was that I checked out from a tagged branch
> instead of just HEAD. Both times I did a Check Out As into an existing
> project (an empty project created beforehand). The first time I did not
> select a Tag. I just left it blank, clicked Finish and the file
> checkout commenced. But the second time I did select a Tag from a Branch
> (since then a new tagged branch had been created for me).
>
> So I have to select a Tag from a Branch? Just checking out files from
> HEAD isn't right? What if there was no branch or tag? Or are tags and
> branches always there?
> Janet
>
|
|
|
Re: CVS - Synchronize option missing from Team menu [message #246401 is a reply to message #246003] |
Tue, 22 January 2008 12:01  |
Eclipse User |
|
|
|
Originally posted by: janet.foster.tsunamidevelopment.com
Yes, that helps.
I went back to try to checkout from HEAD again. This time I did not
create an empty Eclipse project first and checkout into it. Instead, I did
a Checkout As > Check out as a project in the workspace. This created a
project with CVS structure and I can see all the options to which you
referred.
So I think I've got what I need. Thank you very much for the help.
Janet
|
|
|
Powered by
FUDForum. Page generated in 0.16343 seconds