Shelving Question
Moderator: SourceGear
Shelving Question
When I shelve code into Vault, why does the file stay checked out?
I thought when you shelve and give it a unique name it checked the code in but in an area outside the main area where we have our builds running.
Maybe I am missing something here but I thought Shelving allowed you to store the untested uncompiled code into Vault. In my experience it keeps the files checked out, why?
Thanks
btd
I thought when you shelve and give it a unique name it checked the code in but in an area outside the main area where we have our builds running.
Maybe I am missing something here but I thought Shelving allowed you to store the untested uncompiled code into Vault. In my experience it keeps the files checked out, why?
Thanks
btd
Re: Shelving Question
You have the option to keep files checked out. But if you don't want the files to be checked out, check the box for "Undo Changes in the Working Folder" before you save the Shelve Set.
- Attachments
-
- undochanges.png (15.81 KiB) Viewed 7939 times
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Shelving Question
You're welcome. Some users want to keep files checked out because they're still working on them, but want to save their "in progress" changes in the database, just in case.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Shelving Question
I'd like to ask why this isn't the default behavior?
If you're shelving it for later, but it remains in your working folder, then ... what's the point?
If you're shelving it for later, but it remains in your working folder, then ... what's the point?
Re: Shelving Question
Sometimes you just want to shelve a backup of your changes, but you want to continue working on the files in the working folder. Then if your newer changes don't work, you can revert to the last good set of changes.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Shelving Question
I'm new to shelving... but it seems to me that it's counter-intuitive that shelving doesn't actually shelve the changes... only labels a change-set in vault that isn't checked in.
Can you make further changes and then somehow update your shelved set?
Can you make further changes and then somehow update your shelved set?
Re: Shelving Question
If you make changes and shelve those using the same shelveset name, Vault Client will ask if you want to replace the existing shelveset. That's a way of updating the shelveset.
Or you can create a new shelveset with a different name for those changes.
Or you can create a new shelveset with a different name for those changes.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager