Auto Checkout Issue

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Auto Checkout Issue

Post by btd » Mon Feb 10, 2014 8:12 am

I am running Vault 7.1 with Visual Studio 2008.
I leave my machine on at night but before I leave I check in all files.
Next day, I continue working on a file but realize that Vault has not automatically checked it out.
In this case, I find out that I have to click the Refresh Source Control Status link BEFORE checking out a file.

Question: Is there a way to automate this? As there are several times I forget that my files are unprotected and not checked out.

Thanks

btd

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Auto Checkout Issue

Post by lbauer » Mon Feb 10, 2014 4:59 pm

Which integration client are you using? Enhanced or Classic?
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Tue Feb 11, 2014 8:05 am

I'm not sure I know the difference or how to change it?
How can I check and which one should I use?

Thanks

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Wed Feb 12, 2014 1:43 pm

Hi:

I'm sorry but I am not sure I know the difference or how to change it?

How can I check and which one should I use?

Thanks

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Auto Checkout Issue

Post by lbauer » Wed Feb 12, 2014 3:29 pm

Look in Visual Studio under Tools->options->Source Control->Source Control Plugin.

Let me know which plug is configured there. Don't change it, though, it can cause a problem with the integration unless you take certain steps.

Each plugin has different options on how they treat files.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Thu Feb 13, 2014 7:19 am

In Visual Studio 2008 y dropdown says
SourceGear Vault Standard Visual Studio Enhanced.

BTD

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Auto Checkout Issue

Post by lbauer » Thu Feb 13, 2014 4:16 pm

It's possible that Vault Client is losing contact with the server overnight and not causing a checkout when the file changes.

You try setting a short automatic refresh time and see if that helps with a quicker refresh.

This setting is in the Visual Studio under Tools->Options->Source Control->VaultProfessional Options->Advanced Options->General->Automatically refresh every X minutes.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Fri Feb 14, 2014 7:23 am

Linda:

Thanks.

Here is my experience.
I did as you suggested but found that the Automatic refresh setting was already set (checked) for 10 minutes.

Do you have any other suggestions?
Thanks
BTD

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Mon Feb 17, 2014 8:48 am

Here is my experience.
I did as you suggested but found that the Automatic refresh setting was already set (checked) for 10 minutes.

Do you have any other suggestions?
Thanks
BTD

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Auto Checkout Issue

Post by lbauer » Mon Feb 17, 2014 1:32 pm

Vault SHOULD checkout these files in Visual Studio if they've been modified, but if the connection has been interrupted overnight, then that might not work.

I have some suggestions, but they all involve reconnecting to the Vault Server.

1) Close Visual Studio when you'd done for the day. Opening VS will require logging in again.
2) Refresh Source Control status when you start work for the day.
3) Check out files before you start working on them.
4) Use CVS mode, which doesn't require files to be checked out.
Linda Bauer
SourceGear
Technical Support Manager

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Mon Feb 24, 2014 7:20 am

When we leave work for the day, we typically keep VS.NET and the solution open (files are checked in though) because it takes so long to load.
Do you have any other suggestions.

Thanks

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Auto Checkout Issue

Post by btd » Wed Feb 26, 2014 6:37 am

When we leave work for the day, we typically keep VS.NET and the solution open (files are checked in though) because it takes so long to load.
Do you have any other suggestions.

Thanks

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Auto Checkout Issue

Post by lbauer » Wed Feb 26, 2014 8:46 am

I'll check with our developers to see if they have any other ideas.
Linda Bauer
SourceGear
Technical Support Manager

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Auto Checkout Issue

Post by lbauer » Wed Feb 26, 2014 5:05 pm

Once you've refreshed Source Control, are files checked out automatically again until Visual Studio is left open overnight?

Or does automatic checkout never work properly?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply