I have a VS2008 WPF project that is using Vault 4.1.4 as
a source control database.
When I begin to edit a source file, I expect that the source file
will be checked out automatically.
Instead, I sometimes (but not always) can edit the file and the checkout does
not occur and there is no error message popup.
Once I notice the problem, I can checkout the file and my
edits are not lost during the checkout process.
I can then checkin the files and all is then ok.
The files are writeprotected correctly before the edit.
Any ideas ?
Jim
Edit of source file not causing checkout in VS2008
Moderator: SourceGear
-
- Posts: 12
- Joined: Sat Apr 22, 2006 2:46 pm
Re: Edit of source file not causing checkout in VS2008
In VS Tools - Options - Source Control, which client do you have set, Enhanced or Classic?
Then Vault, under Tools - Options - Concurrent Development, what options do you have set there? You can also access this through the advanced button under one of the sub-categories of VS Tools - Options - Source Control VS Tools - Options - Source Control.
Then Vault, under Tools - Options - Concurrent Development, what options do you have set there? You can also access this through the advanced button under one of the sub-categories of VS Tools - Options - Source Control VS Tools - Options - Source Control.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 12
- Joined: Sat Apr 22, 2006 2:46 pm
Re: Edit of source file not causing checkout in VS2008
1. In VS Tools: "Classic Client".
2. "Auto commit after each operation" - checked.
"Require Checkout before Checkin" - checked.
"Make all files read-only"
"Always request exclusive locks - checked.
2. "Auto commit after each operation" - checked.
"Require Checkout before Checkin" - checked.
"Make all files read-only"
"Always request exclusive locks - checked.
Re: Edit of source file not causing checkout in VS2008
There's two things that might be preventing the checkout.
First, check in VS Tools - Options - Source Control - Environment. On the setting for On Edit, make sure it's set to "Check Out Automatically."
If the "Check Out Automatically" is already set, then try in Vault Tools - Options - Concurrent Development check "Make all files read-only." When the read-only bit is set, that should tell Vault that it needs to be checked out.
First, check in VS Tools - Options - Source Control - Environment. On the setting for On Edit, make sure it's set to "Check Out Automatically."
If the "Check Out Automatically" is already set, then try in Vault Tools - Options - Concurrent Development check "Make all files read-only." When the read-only bit is set, that should tell Vault that it needs to be checked out.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 12
- Joined: Sat Apr 22, 2006 2:46 pm
Re: Edit of source file not causing checkout in VS2008
I have the settings for Vault and VS2008 as you describe.
There is still a problem and as I originally described, the problem is intermittent.
I often only catch the problem when I Diff the local files to the files in Vault.
There is still a problem and as I originally described, the problem is intermittent.
I often only catch the problem when I Diff the local files to the files in Vault.
Re: Edit of source file not causing checkout in VS2008
Could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?
HS: 215743
HS: 215743
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support