I have upgraded my Vault client tool to version 2.0.3
Description of problem for our dev team:
1) Someone else adds a file or folder to Vault.
2) I get the latest version of project using the Vault client tool (get latest version from VS IDE does not work properly so I use it through the Client tool)
3) I can see the added file in the IDE but it shows as excluded from my project.
4) I select that file and click on “include in project”, but it first checks out that file and as I only wanted to include it in my project so it requires a check-in again.
To see how it might cause a problem consider following scenario:
Someone has added some files to project and I am supposed to build project and deploy it on server. I get the latest version of project but I am not going to check every directory of project to see if any file has been added or not, so I build project and deploy it. But as added files were excluded from my project during the build they were not added to build output.
Any recommendations or further information to help the VS IDE include project files automatically once they're added to Vault?
Thanks.
Added files in Vault excluded from Visual Studio IDE
Moderator: SourceGear
-
- Posts: 5
- Joined: Fri May 21, 2004 12:28 pm
- Location: Toronto
- Contact:
I think that it would be best to attack this problem starting with the question of why Get Latest doesn't work from the IDE. Have you looked at http://support.sourcegear.com/viewtopic.php?t=782 ? What is the behavior that you're seeing in the IDE?
-
- Posts: 5
- Joined: Fri May 21, 2004 12:28 pm
- Location: Toronto
- Contact:
Get Latest Version - Automatic Merge setting
The reference article on Get Latest Version is helpful in terms of fixing the issue with Undo checkout. The preferred setting for our development team is Get Latest Version with Automatic Merge. Using Automatic Merge should merge whatever is in Vault with whatever "changes" on our local machine. Automatic Merge does not seem to work consistently. Are there any other application settings in the IDE that need to be set in order for Automatic Merge to function correctly?
thx.
thx.
- Attachments
-
- get latest version.JPG (27.32 KiB) Viewed 8888 times
Then the next thing that we should address is why Auto Merge isn't consistantly working. I use automerge and have never had a problem with it should work but didn't. There are some case in which auto merge can't work. If a file has status Unknown, then the Vault client can't merge the changes because it does not know the baseline that the file was at before it was changed. Unknown files should be a rare occurance. Another case where files would not be merged properly is when their extensions are not in the mergable file list. These files are treated as binary.
Can you describe the auto merge failure to me? Are server changes not being put into the local file, or are local changes getting clobbered?
http://support.sourcegear.com/viewtopic.php?t=131 explains the different statuses that a file can have.
http://support.sourcegear.com/viewtopic.php?t=162 talks about get latest options.
Can you describe the auto merge failure to me? Are server changes not being put into the local file, or are local changes getting clobbered?
http://support.sourcegear.com/viewtopic.php?t=131 explains the different statuses that a file can have.
http://support.sourcegear.com/viewtopic.php?t=162 talks about get latest options.
-
- Posts: 5
- Joined: Fri May 21, 2004 12:28 pm
- Location: Toronto
- Contact:
Get Latest Version
We keep having this problem with Vault, whether we use it integrated with the IDE or as a stand alone client.
Get Latest Version does not seem reliable. This is a risk for the project, as we are never sure we get all the changes that the others made to the code. Every time we have to go through subfolders and check the status on the files to make sure that our local version is up to date.
The problem occurs when we Get Latest Version from the root project folder of a repository. If another developer has added files to one of the repository sub-folders - Get Latest Version from the root is not getting all the added files from sub-folders on a consistent basis. However when we Get Latest Version directly from a sub-folder in the repository - it gets the files.
Based on the initial response to this post, since the new files were marked "Missing", the get latest version at the root level should have gotten the new files, but that hasn't happened.
Is this a known issue in build 2.0.3 of the client - or is this the first time you've heard of the issue?
What are the recommended steps to Get Latest Version from the root project folder, and ensure all added files to the repository are retrieved from all sub-folders?
Thank-you.
Get Latest Version does not seem reliable. This is a risk for the project, as we are never sure we get all the changes that the others made to the code. Every time we have to go through subfolders and check the status on the files to make sure that our local version is up to date.
The problem occurs when we Get Latest Version from the root project folder of a repository. If another developer has added files to one of the repository sub-folders - Get Latest Version from the root is not getting all the added files from sub-folders on a consistent basis. However when we Get Latest Version directly from a sub-folder in the repository - it gets the files.
Based on the initial response to this post, since the new files were marked "Missing", the get latest version at the root level should have gotten the new files, but that hasn't happened.
Is this a known issue in build 2.0.3 of the client - or is this the first time you've heard of the issue?
What are the recommended steps to Get Latest Version from the root project folder, and ensure all added files to the repository are retrieved from all sub-folders?
Thank-you.
By any chance, is the subfolder you are working with either cloaked, or created using a snapshot? The only time a missing file should not be retrieved on a Get Latest in a subfolder is if that folder is cloaked or created using a snapshot.
Does this happen all the time, or just intermittedly? Is there any way consistently reproduce it?
Does this happen all the time, or just intermittedly? Is there any way consistently reproduce it?