Vault with single user and multiple computers
Moderator: SourceGear
Vault with single user and multiple computers
We have a remote Vault I connect to via two computers. I have consistent problems with merging files. I will check out a file on my desktop make changes check it in. A few hours to days later I will refresh the project on my laptop under the same user context and it will prompt me to merge the file, even though it was never checked out or edited on the laptop. Automatic merging always fails and I have to manually merge the file and then re-edit it. Usually the merge make some silly change. What I feel it should be doing is simply overwriting the local file. No changes have been made and the repository version is newer. How can I resolve this issue. It gets very annoying on a get latest version to be prompted for 5-15 automatic merges and then needing to apply an manual change process to get rid of the message prompts.
Not sure why you're getting merge prompts from the laptop. Your files should just have an "old" status, unless perhaps the timestamps have changed?It will prompt me to merge the file, even though it was never checked out or edited on the laptop.
If you look in the Vault GUI Client on the laptop prior to doing a Get with Visual Studio, what is the status of the files? Needs Merge? Old? If it's Needs Merged and you do a Diff, are there any differences?
You could change the option in Visual Studio to overwrite locally modified files, rather than using the default, which is Attempt Automatice Merge. In VS 2005, this setting is under Tools->Options->Source Control->Plug in Settings->Advanced->Files.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager