How Does Shelving Work
Moderator: SourceGear
How Does Shelving Work
I have branched my base code and now have one that supports production and the branch that will be the next release. In the branch, I am ready to go, but users are still testing and I need to continue developing until they are done. Rather thaq create another branch, I was thinking about shelving code until the users are done.
But I am not sure how shelving works.
For example, if I shelve C# code. What happens behind the scenes? Does it "check in" the code and create a new version. If so, then shelving is not what I want. I want to be able to protect (Check in or shelve) my code changes AND not make these changes part of th build.
Thoughts?
But I am not sure how shelving works.
For example, if I shelve C# code. What happens behind the scenes? Does it "check in" the code and create a new version. If so, then shelving is not what I want. I want to be able to protect (Check in or shelve) my code changes AND not make these changes part of th build.
Thoughts?
Re: How Does Shelving Work
The Shelve feature does not check in code nor create a new version in Vault. There is a separate area in the database where the shelve set is kept until the user deletes it.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: How Does Shelving Work
Then is there a "merge" shelved code into the repository?
Also, why don't I see the option to shelve in Visual Studio 2008?
Also, why don't I see the option to shelve in Visual Studio 2008?
Re: How Does Shelving Work
To get the Shelve Set into your Vault repository, you would unshelve your code and check it in.
If you shelve your code, but keep all your changes on disk, then you don't have to perform the unshelve.
Are you using the Vault Classic Client or the Vault Enhanced Client with VS 2008? It should be available with the Vault Enhanced Client.
If you shelve your code, but keep all your changes on disk, then you don't have to perform the unshelve.
Are you using the Vault Classic Client or the Vault Enhanced Client with VS 2008? It should be available with the Vault Enhanced Client.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: How Does Shelving Work
I don't know. How do I check to see if I am using Vault Client or Vault Enhanced client?
Re: How Does Shelving Work
When your project is open, go to Tools - Options - Source Control - Plugin and check what is set.
Also, you should have icons (locks or green circles with white checks) next to your files in the VS Solution Explorer. If you don't have icons next to the files, then that project isn't bound to Vault.
Also, you should have icons (locks or green circles with white checks) next to your files in the VS Solution Explorer. If you don't have icons next to the files, then that project isn't bound to Vault.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: How Does Shelving Work
Mine is set as Vault Standard Client.
What do I have to do to get it to use the Enhanced Client?
Thanks
What do I have to do to get it to use the Enhanced Client?
Thanks
Re: How Does Shelving Work
Code: Select all
Mine is set as Vault Standard Client.
Vault Classic Client does not have the ability to access shelving.
You can use the instructions posted here, http://support.sourcegear.com/viewtopic ... highlight=, to switch from the Vault Classic Client to the Vault Enhanced Client. One thing to note is that all users have to use the same client on the same solutions and projects.
Before switching to the Enhanced Client, you may wish to become familiar with some of the differences you will see.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: How Does Shelving Work
OK That all worked. Now I would like to use VIsual Studio 2010 but I did not an option for Vault Enhanced Client that I saw in VS.net 2008.
What do I have to do to use Vault Enhanced Client in VS2010.
Thanks
BTD
What do I have to do to use Vault Enhanced Client in VS2010.
Thanks
BTD
Re: How Does Shelving Work
Was Vault installed before or after VS 2010?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: How Does Shelving Work
Vault needs to be installed after VS 2010. You can try either a repair install or perform an uninstall and reinstall of the Vault client
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support