Hello all,
I was wondering if there is a simple way of using a latop with Vault (or rather, viceversa!)... For projects that I check in/out through the vault client, simply doing a "get latest version" through the Vault client is enough, since I can just merge any changes back in whn I get back to the office.
But for project which I check in/out through the development environment (ie, VS 2003 projects), this creates a problem since the files were not formally checked out through the development environment, then any changes in the project will end up loosing the Dev. Env.'s version control metadata.
I came across this thread: http://support.sourcegear.com/viewtopic ... ght=laptop Is the information in that thread still valid?
Or perhaps I am missing something, but sometimes I take long trips and must take all my source on my laptop, just in case. It would seem that I have to check out all my projects through their respective devel envionments if I want to have a trouble-free trip, and the undo the applicable checkouts when I come back into the office. Is this true, or is there another way that I am missing?
Thanks.
Disconnected mode / laptop issues
Moderator: SourceGear
Disconnected mode / laptop issues
gabriel magana-gonzalez
Are you using IDE integration the whole time or the Vault standalone GUI client?
Either should work. You can't check out files from Vault without a network connection but:
1. Visual Studio will simulate check outs for you when it works in disconnected mode, and then when you reconnect when you have a network again, it will check out the files you've changed for real, and allow you to check them back in. Of course, if a file needs merged (because someone else checked in a new version while you were gone), you will have to resolve the merge, but the process does work.
2. If you use the GUI client, you can turn off the option to Require Checkouts before Checkin while you are disconnected. When you get back into the office, any files you have edited will be in the pending change set, and you can check them in (again, assuming there are no merge conflicts).
Hope this helps,
Either should work. You can't check out files from Vault without a network connection but:
1. Visual Studio will simulate check outs for you when it works in disconnected mode, and then when you reconnect when you have a network again, it will check out the files you've changed for real, and allow you to check them back in. Of course, if a file needs merged (because someone else checked in a new version while you were gone), you will have to resolve the merge, but the process does work.
2. If you use the GUI client, you can turn off the option to Require Checkouts before Checkin while you are disconnected. When you get back into the office, any files you have edited will be in the pending change set, and you can check them in (again, assuming there are no merge conflicts).
Hope this helps,
Thanks for the info. My real problem is with GUI-managed check ins and outs. Here is what I do now:
I do a "Get Current Version" (recursive) and save everything (not checked out) to the hard disk.
For Vault-Client projects I simply change the file locally and merge when I get back into the office.
For GUI-managed projects I do the same but have a problem because, since I did not do a formal checkout when /i edited the files, I have lost some metadata from the projects, which /i have yet to figure oit how to fix.
How can I have my GUI do an offline/disconnected checkout if I dont; have access to the Vault server at checkout time?
I do a "Get Current Version" (recursive) and save everything (not checked out) to the hard disk.
For Vault-Client projects I simply change the file locally and merge when I get back into the office.
For GUI-managed projects I do the same but have a problem because, since I did not do a formal checkout when /i edited the files, I have lost some metadata from the projects, which /i have yet to figure oit how to fix.
How can I have my GUI do an offline/disconnected checkout if I dont; have access to the Vault server at checkout time?
How to get back on-line after going off-line?dan wrote:If so, Visual Studio has an "off-line" mode that is supposed to simulate checkouts for you and then resolve everything when you are back on line.
V3.1.8 (3771)
VS 2003+Win Server 2003
1. Working on-line, files checked out.
2. Shutdown for weekend, reboot/restart but server is down, accept option to work offline (as files were previously checked out).
3. Now I can't figure out how to reconnect inside VS 2003.
4. The various Source Control options, under File menu in VS 2003 do not help, often warning that a project already exists in the working folder. Duh.
NOTE: Vault GUI tool shows files properly checked out as expected (i.e., as if server was always available).