Unshelve Question
Moderator: SourceGear
Unshelve Question
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.
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
Re: Unshelve Question
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.
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
SourceGear Technical Support
Re: Unshelve Question
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.
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
Re: Unshelve Question
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
SourceGear Technical Support
Re: Unshelve Question
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.
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
Re: Unshelve Question
I think I may have reproduced this behavior. I will run a few more tests and log a bug.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Unshelve Question
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
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
SourceGear Technical Support