Solution Items not in Vault Pending Changes

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

Moderator: SourceGear

Post Reply
bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

Solution Items not in Vault Pending Changes

Post by bnott » Fri May 16, 2008 10:06 am

I am using VS08 with the enhanced client. I have some files that are in the "Solution Items" folder, and are not directly contained in a project of the solution.

When I edit these items, the icons are updated appropriately. But they do not show up in Vault Pending Changes. We have to try to remember to go to the actual Vault Client to commit those changes. It would be great of the VS08 client would show the Solution Items files in the Pending Changes window.

Also, it would be great if a context-menu option for Commit... was added to the VS enhanced client. Check In is there, but it doesn't do anything since we aren't ever doing an actual Check Out.

Thanks,
Brian

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

Post by Beth » Fri May 16, 2008 10:42 am

Are you working in VSS mode or CVS mode? With one, check outs are required, and in the other, they aren't.

bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

Post by bnott » Fri May 16, 2008 10:45 am

Check-outs are not required.

Thanks.

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

Post by Beth » Mon May 19, 2008 1:50 pm

What happens if you right click the file you were editing and then select the check in function? Does successfully check in from there?

bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

Post by bnott » Mon May 19, 2008 1:55 pm

No, that is what I am saying...

There are two problems here which work together to make files in "Solition Items" hard to mange.

1. The Vault Pending Changes window for the Enhanced Client does not show "Solution Items" that have been edited.

2. Due to #1, the next workable thing would be to right-click on a "Solution Items" file and do a "Commit". But you can't, the only option is "Check In", which says "This item has not been checked out."

Of course, I wouldn't even really care about 2 if 1 got fixed.

Brian

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue May 20, 2008 2:08 pm

There's some confusion in this thread. :)

First, commit and check-in are synonymous. The fact that the "Check In" command isn't working for you in this situation is because something else is amiss, not because you don't have them checked out.

So your actual problem, if I understand correctly, is that solution items are acting as though they're not under source control. Is your solution bound? Solution items are bound/unbound along with the solution file.
Ian Olsen
SourceGear

bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

Post by bnott » Tue May 20, 2008 3:17 pm

- The solution is bound, and the files are under source control.
- The "Vault Pending Changes" window in visual studio works fine for all files except those in the Solution Items folder.
- The vault status icons do work for all items, even those in the Solution Items folder.
- The vault GUI client works fine.
- If I try to do a "Check In" on an item in the "Solution Items" folder, it says "There were no items found for check in."

I have attached a screenshot of what my Solution Items folder looks like right now, with a single file edited. The only way to commit that file is through the Vault GUI Client.

Brian
Attachments
solution_items.png
solution_items.png (22.69 KiB) Viewed 4714 times

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue May 20, 2008 3:19 pm

Where are these solution item files on disk, relative to the solution file?
Ian Olsen
SourceGear

bnott
Posts: 28
Joined: Thu Feb 15, 2007 10:03 am
Contact:

Post by bnott » Tue May 20, 2008 3:23 pm

They are all four in different locations. One of them is in the same folder as the .sln, and the other three are not in or below the folder of the .sln. It looks like the one that is in the folder of the .sln behaves properly.

Thanks,
Brian

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Post by ian_sg » Tue May 20, 2008 3:31 pm

Okay that explains it. This is a known issue. The Enhanced Client only considers files that are beneath the solution and/or at least one project (on disk) to be part of the solution.

If you can get those files to meet that condition (by moving the files themselves, moving the solution file, creating a dummy project above them, etc.), that would be the workaround until we have a fix.

Sorry for the inconvenience.
Ian Olsen
SourceGear

Post Reply