Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » CVS Branching - Remembered Tags(How to get newly created branches automatically remembered)
CVS Branching - Remembered Tags [message #727496] Wed, 21 September 2011 13:05 Go to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Hi all, I couldn't find any specific forum for CVS plugin questions and it probably is a newbie question so I've posted it here.

We have a project where there is only ever one version live.
I have been getting people to start branching the project for any changes, so each change can be isolated, and when it is ready to "go live" can be merged into trunk.

Whenever I create a new branch, myself or anyone else who has the project checked out can see the branch and switch to it.
However if a colleague, who has checked the project out the same way, creates a branch, and then someone tries to switch to it, it doesn't appear in the list of available branches.

I understand that by selecting "Configure Tags..." you can add branches to the "Remembered Tags" list, but I don't understand why when I create a branch this seems to happen automatically.

I appreciate that there is quite a lot to branching, and I've scoured web sites that explain it all, but I can't seem to find anything about branches not appearing in the available branches list.

Any advice appreciated, thanks.

Neil Belch
Senior Software Technician
CDL


The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727521 is a reply to message #727496] Wed, 21 September 2011 13:49 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/21/11 9:05 AM, Neil Belch wrote:
> Hi all, I couldn't find any specific forum for CVS plugin questions and
> it probably is a newbie question so I've posted it here.
>
> We have a project where there is only ever one version live.
> I have been getting people to start branching the project for any
> changes, so each change can be isolated, and when it is ready to "go
> live" can be merged into trunk.
>
> Whenever I create a new branch, myself or anyone else who has the
> project checked out can see the branch and switch to it.
> However if a colleague, who has checked the project out the same way,
> creates a branch, and then someone tries to switch to it, it doesn't
> appear in the list of available branches.
>
> I understand that by selecting "Configure Tags..." you can add branches
> to the "Remembered Tags" list, but I don't understand why when I create
> a branch this seems to happen automatically.

Eclipse keeps a cache of information about the CVS repositories that
you've told it about. Like any caching strategy, that means things that
happen outside the knowledge of the cache "owner" aren't in the cache.
If you create the branch in your own Eclipse workspace, Eclipse
obviously knows about that and appropriately includes it in it's local
cache of knowledge about the CVS repository. But when someone else
creates a branch, your Eclipse workspace isn't aware of it unless/until
you tell it to query the CVS server for branches/tags. There is no
automatic notification from the server that a branch was created, and
because the process of finding new tags/branches is somewhat slow for
the client, it's designed as an explicit action the user must invoke
rather than anything that happens automatically.

Eric
Re: CVS Branching - Remembered Tags [message #727524 is a reply to message #727496] Wed, 21 September 2011 13:56 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL


The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727525 is a reply to message #727496] Wed, 21 September 2011 13:49 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/21/11 9:05 AM, Neil Belch wrote:
> Hi all, I couldn't find any specific forum for CVS plugin questions and
> it probably is a newbie question so I've posted it here.
>
> We have a project where there is only ever one version live.
> I have been getting people to start branching the project for any
> changes, so each change can be isolated, and when it is ready to "go
> live" can be merged into trunk.
>
> Whenever I create a new branch, myself or anyone else who has the
> project checked out can see the branch and switch to it.
> However if a colleague, who has checked the project out the same way,
> creates a branch, and then someone tries to switch to it, it doesn't
> appear in the list of available branches.
>
> I understand that by selecting "Configure Tags..." you can add branches
> to the "Remembered Tags" list, but I don't understand why when I create
> a branch this seems to happen automatically.

Eclipse keeps a cache of information about the CVS repositories that
you've told it about. Like any caching strategy, that means things that
happen outside the knowledge of the cache "owner" aren't in the cache.
If you create the branch in your own Eclipse workspace, Eclipse
obviously knows about that and appropriately includes it in it's local
cache of knowledge about the CVS repository. But when someone else
creates a branch, your Eclipse workspace isn't aware of it unless/until
you tell it to query the CVS server for branches/tags. There is no
automatic notification from the server that a branch was created, and
because the process of finding new tags/branches is somewhat slow for
the client, it's designed as an explicit action the user must invoke
rather than anything that happens automatically.

Eric
Re: CVS Branching - Remembered Tags [message #727527 is a reply to message #727496] Wed, 21 September 2011 13:49 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/21/11 9:05 AM, Neil Belch wrote:
> Hi all, I couldn't find any specific forum for CVS plugin questions and
> it probably is a newbie question so I've posted it here.
>
> We have a project where there is only ever one version live.
> I have been getting people to start branching the project for any
> changes, so each change can be isolated, and when it is ready to "go
> live" can be merged into trunk.
>
> Whenever I create a new branch, myself or anyone else who has the
> project checked out can see the branch and switch to it.
> However if a colleague, who has checked the project out the same way,
> creates a branch, and then someone tries to switch to it, it doesn't
> appear in the list of available branches.
>
> I understand that by selecting "Configure Tags..." you can add branches
> to the "Remembered Tags" list, but I don't understand why when I create
> a branch this seems to happen automatically.

Eclipse keeps a cache of information about the CVS repositories that
you've told it about. Like any caching strategy, that means things that
happen outside the knowledge of the cache "owner" aren't in the cache.
If you create the branch in your own Eclipse workspace, Eclipse
obviously knows about that and appropriately includes it in it's local
cache of knowledge about the CVS repository. But when someone else
creates a branch, your Eclipse workspace isn't aware of it unless/until
you tell it to query the CVS server for branches/tags. There is no
automatic notification from the server that a branch was created, and
because the process of finding new tags/branches is somewhat slow for
the client, it's designed as an explicit action the user must invoke
rather than anything that happens automatically.

Eric
Re: CVS Branching - Remembered Tags [message #727529 is a reply to message #727496] Wed, 21 September 2011 13:56 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL

The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727532 is a reply to message #727496] Wed, 21 September 2011 14:01 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL


The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727550 is a reply to message #727496] Wed, 21 September 2011 13:49 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/21/11 9:05 AM, Neil Belch wrote:
> Hi all, I couldn't find any specific forum for CVS plugin questions and
> it probably is a newbie question so I've posted it here.
>
> We have a project where there is only ever one version live.
> I have been getting people to start branching the project for any
> changes, so each change can be isolated, and when it is ready to "go
> live" can be merged into trunk.
>
> Whenever I create a new branch, myself or anyone else who has the
> project checked out can see the branch and switch to it.
> However if a colleague, who has checked the project out the same way,
> creates a branch, and then someone tries to switch to it, it doesn't
> appear in the list of available branches.
>
> I understand that by selecting "Configure Tags..." you can add branches
> to the "Remembered Tags" list, but I don't understand why when I create
> a branch this seems to happen automatically.

Eclipse keeps a cache of information about the CVS repositories that
you've told it about. Like any caching strategy, that means things that
happen outside the knowledge of the cache "owner" aren't in the cache.
If you create the branch in your own Eclipse workspace, Eclipse
obviously knows about that and appropriately includes it in it's local
cache of knowledge about the CVS repository. But when someone else
creates a branch, your Eclipse workspace isn't aware of it unless/until
you tell it to query the CVS server for branches/tags. There is no
automatic notification from the server that a branch was created, and
because the process of finding new tags/branches is somewhat slow for
the client, it's designed as an explicit action the user must invoke
rather than anything that happens automatically.

Eric
(no subject) [message #727552 is a reply to message #727496] Wed, 21 September 2011 13:56 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL

The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727553 is a reply to message #727496] Wed, 21 September 2011 13:49 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/21/11 9:05 AM, Neil Belch wrote:
> Hi all, I couldn't find any specific forum for CVS plugin questions and
> it probably is a newbie question so I've posted it here.
>
> We have a project where there is only ever one version live.
> I have been getting people to start branching the project for any
> changes, so each change can be isolated, and when it is ready to "go
> live" can be merged into trunk.
>
> Whenever I create a new branch, myself or anyone else who has the
> project checked out can see the branch and switch to it.
> However if a colleague, who has checked the project out the same way,
> creates a branch, and then someone tries to switch to it, it doesn't
> appear in the list of available branches.
>
> I understand that by selecting "Configure Tags..." you can add branches
> to the "Remembered Tags" list, but I don't understand why when I create
> a branch this seems to happen automatically.

Eclipse keeps a cache of information about the CVS repositories that
you've told it about. Like any caching strategy, that means things that
happen outside the knowledge of the cache "owner" aren't in the cache.
If you create the branch in your own Eclipse workspace, Eclipse
obviously knows about that and appropriately includes it in it's local
cache of knowledge about the CVS repository. But when someone else
creates a branch, your Eclipse workspace isn't aware of it unless/until
you tell it to query the CVS server for branches/tags. There is no
automatic notification from the server that a branch was created, and
because the process of finding new tags/branches is somewhat slow for
the client, it's designed as an explicit action the user must invoke
rather than anything that happens automatically.

Eric
Re: CVS Branching - Remembered Tags [message #727556 is a reply to message #727496] Wed, 21 September 2011 13:56 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL

The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727557 is a reply to message #727496] Wed, 21 September 2011 14:01 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL

The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727572 is a reply to message #727496] Wed, 21 September 2011 14:01 Go to previous messageGo to next message
Neil Belch is currently offline Neil BelchFriend
Messages: 8
Registered: September 2011
Junior Member
Ah, I think I have figured this out. I was mistaken before in that other people could see my created branches.

From what I can gather, the "Remembered Tags" section acts like a local list of branches you can switch to. To switch to a branch created by someone else you need to go to "Configure Tags..." and add their branch to your "Remembered Tags" list, and then you can switch to it.

If this isn't correct then please let me know - it seems like a bit of a roundabout way of doing things!

Neil Belch
Senior Software Technician
CDL

The views opinions and judgements expressed in this message are solely those of
the author. The message contents have not been reviewed or approved by CDL.
Re: CVS Branching - Remembered Tags [message #727626 is a reply to message #727524] Wed, 21 September 2011 17:18 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/21/11 9:56 AM, Neil Belch wrote:
> Ah, I think I have figured this out. I was mistaken before in that other
> people could see my created branches.
>
> From what I can gather, the "Remembered Tags" section acts like a local
> list of branches you can switch to. To switch to a branch created by
> someone else you need to go to "Configure Tags..." and add their branch
> to your "Remembered Tags" list, and then you can switch to it.
>
> If this isn't correct then please let me know - it seems like a bit of a
> roundabout way of doing things!

Usually using Refresh Tags (instead of Configure Tags) is simpler. It
will load all tags/branches from the repository and add them to the list.

Also, I use Replace with > Another Branch or Version... instead of Team
> Switch To...
I'm not sure of all the implications of doing one or the other.

Eric
Previous Topic:Debug a (remote?) java application using Eclipse
Next Topic:Flash Builder Plugin
Goto Forum:
  


Current Time: Tue Mar 19 06:17:40 GMT 2024

Powered by FUDForum. Page generated in 0.05003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top