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 |
Neil Belch 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 |
Eric Rizzo 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 #727525 is a reply to message #727496] |
Wed, 21 September 2011 13:49 |
Eric Rizzo 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 |
Eric Rizzo 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 #727550 is a reply to message #727496] |
Wed, 21 September 2011 13:49 |
Eric Rizzo 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 #727553 is a reply to message #727496] |
Wed, 21 September 2011 13:49 |
Eric Rizzo 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
|
|
| | | | |
Goto Forum:
Current Time: Tue Mar 19 06:17:40 GMT 2024
Powered by FUDForum. Page generated in 0.05003 seconds
|