Time Difference in Checking Out vs. Getting File in SourceSafe
ID: Q158469
|
The information in this article applies to:
-
Microsoft Visual SourceSafe, 16-bit and 32-bit, for Windows, versions 4.0, 4.0a
-
Microsoft Visual SourceSafe, 32-bit, for Windows 5.0
SUMMARY
Visual SourceSafe operates more slowly when it checks out a file than when
it gets a file. This is especially evident in the Visual SourceSafe
integration with other products.
MORE INFORMATION
Following are the steps that Visual SourceSafe goes through when it checks
out a file. The order of the steps depends on the system configuration and
the user's actions, so these steps may not occur in this exact order:
- Your user rights are verified to make sure that you have the proper
access rights for the operation.
- Visual SourceSafe checks to see if the file is currently checked out by
you or any other user.
- If someone has the file checked out already, the multiple checkouts
setting is selected. (This applies only to text files because binary
files cannot be set up for multiple checkouts.) If the other user
currently has the file checked out and is checking the file out again to
the same directory, the operation fails. If the other user currently has
the file checked out and is checking the file out again to a different
directory, the operation works.
- If Visual SourceSafe verifies that you can check the file out, then the
log file is written with a checkout record for you.
- The Status.dat file is updated.
- Visual SourceSafe looks for a Replace_Writable variable and, depending
on that setting, will skip the file, replace the file, or merge the
file.
- A GET happens.
This procedure causes the checkout operation to go much slower than when
SourceSafe gets a file. Following are the steps that Visual SourceSafe goes
through when it gets a file:
- Your user rights are checked to see if you have the proper access rights
for the operation.
- Visual SourceSafe looks for a Replace_Writable variable and, depending
on that setting, skips the file, replaces the file, or merges the file.
- A GET happens.
Most users of Visual SourceSafe are running over a local area network; the
network file I/O and data transfer slow down the checkout operation
even more. Note that users of Microsoft Visual FoxPro see a larger
delay due to the intermediate text files that are generated from the FoxPro
binary files. This step does not occur in Visual Basic or Visual C++.
Additional query words:
kbdss
Keywords : ssdb
Version : 4.00 4.00a 5.00
Platform : WINDOWS
Issue type :
|