Unshelve Question

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

Moderator: SourceGear

Post Reply
buckey
Posts: 22
Joined: Fri Feb 12, 2010 3:21 pm

Unshelve Question

Post by buckey » Mon Feb 15, 2010 7:08 am

When I unshelve a shelveset, any files that I currently have checked out are UN-checked out and reverted to their previous version. This happens for files that are not in the shelveset.

So, for example, I check out:

file1.cs
file2.cs

I then shelve my changes to file2.cs. I leave file1.cs checked out.

I then unshelve this shelveset. My changes to file1.cs are lost and it is un-checked out.

Please advise.
Connections Academy Software Development Team

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Unshelve Question

Post by Beth » Mon Feb 15, 2010 2:01 pm

There's a few options to consider during the unshelve. I ran a couple of tests and am attaching a document to give you an idea of what goes on.

Which options did you choose during the unshelve?

How did you go about shelving the one file? Did you use the right-click menu, or the shelve button?

When you are checking your files to see if your edits are there, how are you checking them? If you use the View function in Vault, then what you see is what is in the Vault repository and not what is on disk. If you use Edit, or look at the file directly on disk, then you can see what changes are actually on disk.
Attachments
SHELVING TEST 1.doc
(216 KiB) Downloaded 187 times
Beth Kieler
SourceGear Technical Support

buckey
Posts: 22
Joined: Fri Feb 12, 2010 3:21 pm

Re: Unshelve Question

Post by buckey » Tue Feb 16, 2010 11:51 am

I shelved the files via the Vault Pending Changes window in VS 2008.

I then clicked the Unshelve button in the same window. I then found a shelf, clicked Details, then clicked "Unshelve..". I didn't check the "Automatically delete shelveset after unshelve" option.

The issue is here is that it removes ALL of my other pending changes - even those completely unrelated to the shelveset in question. It is more than just my changes being gone, the files that I had checked out (again, unrelated to the shelf) are un-checked out.
Connections Academy Software Development Team

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Unshelve Question

Post by Beth » Tue Feb 16, 2010 3:00 pm

I don't think that should be happening. I'd like to take a closer look. Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?
Beth Kieler
SourceGear Technical Support

buckey
Posts: 22
Joined: Fri Feb 12, 2010 3:21 pm

Re: Unshelve Question

Post by buckey » Tue Feb 16, 2010 7:25 pm

Thanks Beth. I sent an email.
Connections Academy Software Development Team

buckey
Posts: 22
Joined: Fri Feb 12, 2010 3:21 pm

Re: Unshelve Question

Post by buckey » Wed Feb 17, 2010 10:18 am

We're experiencing another issue with shelvesets as well.

I find that, if I do the check-out of someone else’s shelf and they had a comment, almost every-time their comment gets applied to my comment set while my regular comment also goes in.
Connections Academy Software Development Team

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Unshelve Question

Post by Beth » Fri Mar 05, 2010 9:58 am

I think I may have reproduced this behavior. I will run a few more tests and log a bug.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Unshelve Question

Post by Beth » Fri Mar 05, 2010 1:20 pm

As an update to this thread. The original issue couldn't be reproduced. If any other customers have that happen, let me know.

The comment issue was reproduced. It appears that the shelve comments don't have a way to be cleared out and then end up on check ins.

In addition, I am adding a feature request to allow a person to type in the name they want to search on for shelvesets and not require the use of the dropdown as the way to enter the name. This is the behavior in the Vault GUI client.

HS: 219170
F: 15282, 15283
Beth Kieler
SourceGear Technical Support

Post Reply