Enhanced client wants to add excluded folders

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

Moderator: SourceGear

Post Reply
Lane
Posts: 85
Joined: Thu Oct 26, 2006 10:58 am

Enhanced client wants to add excluded folders

Post by Lane » Thu Jul 03, 2008 11:33 am

We're using 4.1.2 with the Enhanced client.

I added a folder name to the list of excluded folders for a project. But in Visual Studio, the files in that folder are still showing up with pending check-ins. In solution explorer, they have the icon with the plus sign.

What are we doing wrong?

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

Post by Beth » Thu Jul 03, 2008 12:41 pm

In Vault, the list of exclusions applies to when you are doing the add with the Vault GUI, and only when you are adding the parent of that item. That means that some items under the parent you want excluded. If you wanted those items though, you can individually select them and add them. For example, some people want some .dlls naturally excluded and then individually select just the ones they want in from a folder.

With Visual Studio, it essentially explicitly adds its items, which is the same as selecting those items one by one in Vault.

This is discussed in this forum thread as well.

Lane
Posts: 85
Joined: Thu Oct 26, 2006 10:58 am

Post by Lane » Thu Jul 03, 2008 2:12 pm

If I understand your post and the thread you linked me to, there is no way to prevent Vault (or the Enhanced Client) from trying to add files to the project that we don't want to add?

In that case, the only solution is for the developer to manually uncheck them when doing a project check-in.

Is that correct?

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

Post by ian_sg » Thu Jul 03, 2008 2:19 pm

Lane, a developer can remove the offending item(s) from the pending changeset (View->Vault Pending Changes) and they won't show up in future checkin dialogs.

A more sophisticated exclude/ignore feature is on our radar.
Ian Olsen
SourceGear

Post Reply