Shelving Question

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Shelving Question

Post by btd » Thu Feb 28, 2013 2:05 pm

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

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shelving Question

Post by lbauer » Thu Feb 28, 2013 2:40 pm

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
undochanges.png (15.81 KiB) Viewed 7951 times
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Shelving Question

Post by btd » Fri Mar 01, 2013 6:18 am

That worked.

Thanks

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shelving Question

Post by lbauer » Fri Mar 01, 2013 10:05 am

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

Mordachai
Posts: 84
Joined: Sun Feb 24, 2013 11:58 am

Re: Shelving Question

Post by Mordachai » Mon Mar 25, 2013 10:29 am

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?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shelving Question

Post by lbauer » Mon Mar 25, 2013 10:43 am

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

Mordachai
Posts: 84
Joined: Sun Feb 24, 2013 11:58 am

Re: Shelving Question

Post by Mordachai » Mon Mar 25, 2013 2:31 pm

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?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shelving Question

Post by lbauer » Mon Mar 25, 2013 3:28 pm

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.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply