Vault "touching" file in checkin

If you are having a problem using Vault, post a message here.
Post Reply
el veejay
Posts: 3
Joined: Thu Nov 19, 2015 4:40 am

Vault "touching" file in checkin

Post by el veejay » Thu Nov 19, 2015 4:43 am

It seems like vault is "touching" files (giving them a new modified timestamp) on checkin, which is extremely annoying, as Visual Studio then wants to reload everything.

How can I tell vault NOT to do that?

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

Re: Vault "touching" file in checkin

Post by Beth » Thu Nov 19, 2015 4:40 pm

Are the files edited? Vault has to look at the files to determine changes. If there are files you don't plan on editing, then an Undo Check Out will be performed on the files.
Beth Kieler
SourceGear Technical Support

el veejay
Posts: 3
Joined: Thu Nov 19, 2015 4:40 am

Re: Vault "touching" file in checkin

Post by el veejay » Fri Nov 20, 2015 1:35 am

No it doesn't edit the files (or at least there's no visible change), but it makes Visual Studio think someone else edited the files, which means that VS will want to reload the files in question. I hope there's some config thing I need to turn off (or on).

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

Re: Vault "touching" file in checkin

Post by Beth » Wed Dec 02, 2015 11:03 am

Are you adding the files through Visual Studio or through the Vault GUI client?

Are you wanting to use the integration between VS and Vault? That allows you to use Vault actions inside of VS.
Beth Kieler
SourceGear Technical Support

el veejay
Posts: 3
Joined: Thu Nov 19, 2015 4:40 am

Re: Vault "touching" file in checkin

Post by el veejay » Mon Dec 07, 2015 9:24 am

I have the Vault plugin, so when I create a new file, it gets added automatically. However, I check in from the standalone Vault client, as my checkins usually spans several VS solutions. And after I do, VS claims the files have been modified.

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

Re: Vault "touching" file in checkin

Post by Beth » Mon Dec 07, 2015 9:43 am

There's a couple different things that could cause what you are seeing. The easiest way around that is to turn on CRC checks. That's in the Vault Tools - Options - Local Files.

The other options are to look at how working folders are set. It's possible to have a conflict there by both setting a working folder in Vault, and then Binding with VS at a different level.

Or, you can perform all your check ins inside of Visual Studio.
Beth Kieler
SourceGear Technical Support

Post Reply