This project is read-only.

Question: How do I work off-line?

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

Answer

Team Foundation Version Control does not natively support offline working. If you want to work offline you must strictly adhere to the following workflow:
  1. Manually remove read-only flags.
  2. Edit files.
  3. Add or delete files.
  4. Run the Team Foundation Power Tool (TFPT) online command.

Note: You must not rename any files while you are offline.

1. Manually remove read-only flags.
By default, all files in the workspace that have not been checked out are marked as read-only. When you are working without a server connection, you must manually remove the read-only flag from files before editing or deleting them. To do this, right-click the file in Windows Explorer, click Properties, clear the Read-only check box, and then click OK. Alternatively, you can use the DOS command attrib -r

2. Edit files.
You can now freely edit any files for which you have removed the read-only flag.

3. Add or delete files.
You can add files or delete files for which you have removed the read-only flag. Do not rename files, as the TFPT online tool cannot distinguish a rename from a delete paired with an add.
Note: You must specify an option to the TFPT online command to get it to look for delete instances, as this is a more time-consuming operation.

4. Run the TFPT online command.
When you are back online, run the TFPT online command by typing TFPT online at the command line. This command scans your workspace for writable files and determines what changes should be pended on the server. If you have deleted any files, use the /deletes command-line option to scan for deleted files in your local workspace as well. The tool then displays the Online window from which you can choose which changes to pend into the workspace.

Additional Resources


Last edited Jul 18, 2007 at 11:56 PM by jtaylorsi, version 7

Comments

No comments yet.