disable auto-commit in Visual Studio 2008

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

Moderator: SourceGear

Post Reply
VaultUser6022
Posts: 10
Joined: Wed Mar 03, 2010 10:45 am

disable auto-commit in Visual Studio 2008

Post by VaultUser6022 » Wed Mar 03, 2010 10:57 am

I have unchecked the auto-commit in my Vault Client but I think Visual Studio is still auto-committing changes. I have gone into Tools/Options/Source Control/Plug-in Settings/Advanced and the Auto-commit after each operation is checked and I can't change it. The Vault client has the setting unchecked.

My Source Control in Visual Studio 2008 is set to "SourceGear Vault Classic Client" if this has anything to do with my issue.

When I deleted a file from Visual Studio I do not see the delete as a pending change. I also do not see it as a pending change in Vault Client. Now the file I deleted does not show up but I have not confirmed if it is just hidden from me at this time. When I deleted another file using the Vault Client the deleted file does show up as a pending change.

How would I setup Visual Studio to queue all changes?

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

Re: disable auto-commit in Visual Studio 2008

Post by Beth » Wed Mar 03, 2010 5:08 pm

I ran a few checks on this and I'm not currently seeing a way to force it to pend the change unless the delete is performed in the Vault GUI client. I will see if this is supposed to be by design or not. If it isn't then I will log a bug. If it is by design, I can log a feature request to change how it works.
Beth Kieler
SourceGear Technical Support

VaultUser6022
Posts: 10
Joined: Wed Mar 03, 2010 10:45 am

Re: disable auto-commit in Visual Studio 2008

Post by VaultUser6022 » Thu Mar 18, 2010 3:29 pm

Hi, I am wondering if there are any updates to getting Visual Studio to queue files changes until commit?

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

Re: disable auto-commit in Visual Studio 2008

Post by Beth » Tue Mar 23, 2010 3:20 pm

It appears that the ability to pend this operation is only available in the Vault Enhanced Client, but in the Classic Client, it commits. Based on what I'm seeing so far, it seems like there isn't a way around that. I can put in a feature request for that functionality, but for now, to get that functionality, you would have to switch clients.

If you decide to switch clients, please note that all users of that solution need to use the same client. Also, there is a process to switching. See this KB article: Re-binding a solution for use with the Vault Visual Studio Enhanced Client
Beth Kieler
SourceGear Technical Support

VaultUser6022
Posts: 10
Joined: Wed Mar 03, 2010 10:45 am

Re: disable auto-commit in Visual Studio 2008

Post by VaultUser6022 » Tue Mar 23, 2010 3:28 pm

Thank you,

I will test out the Enhanced Client!

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

Re: disable auto-commit in Visual Studio 2008

Post by Beth » Mon Mar 29, 2010 2:16 pm

Thank you for the update. Feel free to let us know if you have any further questions.
Beth Kieler
SourceGear Technical Support

Post Reply