A problem about soscmd.exe
Moderator: SourceGear
A problem about soscmd.exe
When I use soscmd.exe to check out a file, do some changes and check it in the SourceOffSite, there is a problem that the local version in the UI can't be refreshed. The remote version is the current version, and the changed data is right at the server and client, but the local version in UI is not right! Why? Should I get latest version after the files are checked in every time?
The SOS GUI Client relies on the client cache file to determine file status. If you do a "Get" with soscmd, use the "-soshome" parameter to update the client side cache, so the SOS GUI Client has the correct file status information. For documentation of -soshome, see soscmd.txt.
http://support.sourcegear.com/viewtopic.php?t=1266
http://support.sourcegear.com/viewtopic.php?t=1266
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
You can add an image as an attachment to your post. When you reply, there is an "Attachment Posting Control Panel" at the bottom of the screen. If you click on "Add Attachment," it will display a Browse button and fields for the file name and comment.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
If you do a Diff, the file with Needs Merged state in the working directory is probably the same as the file in the database. Do a Get Latest with Overwrite to resolve the file status.
When you use -soshome in the Command Line Client, you don't need to use -workdir, as the cache file has information about the working directory.
Using both caused confusion in the client, which made it think the version in the working directory was different than the version in the database.
When you use -soshome in the Command Line Client, you don't need to use -workdir, as the cache file has information about the working directory.
Using both caused confusion in the client, which made it think the version in the working directory was different than the version in the database.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager