I have a few problems with soscmd that I'd like to get sorted out:
1) when getting a project by label, the files are always retrieved even when locally unmodified
2) when getting the latest version for a project, soscmd realizes when the file does not need to be fetched, but the whole process still takes way longer than the gui client.
3) soscmd returns error 400 when trying to use checkinfile if the file is multiply checked out. The build process needs to checkout a version.h file, modify it, then check it back in. But if someone else has got version.h checked out by mistake, the checkin fails.
here's the commands I'm using (with company specific info removed):
this for getting the project
soscmd.exe -verbose -server myserver:8080 -alias "my db name" -name me -password "secret" -project Main -recursive -command getproject -soshome c:\build-soscache -time modification
(I add the -Label parameter if I want to get back to a prior build.)
It seems to me that soscmd deals with getting latest and labeled files differently:
Labeled: fast with file transfers batched up, but it always gets the file even when I already have that labeled version
Latest: on a file by file basis with noticeable network delay between each file even when it then reports that the file does not need to be fetched.
this for checking in the file
soscmd.exe -verbose -server myserver:8080 -alias "mydb" -name me -password "" -project Main -recursive -command checkinfile -file version.h -soshome "c:\soscache" -time modification -log "testbatch"
and here's the output for the checkin
SourceOffSite Command Line Client: 128 bit Encryption version 4.1.2
Connected to server myserver at port 8080.
Matched alias 'xxx' to database 'xxxxxx'
Received Challenge from server
Successfully logged in.
Sending CheckInFile Command to server.
Error: Server response = 400 OperationFailed
Saving Tree status updates to file.
Closed connection to server aaa.bbb.ccc at port 8080.
Please let me know if I can provide more info to help track this down - our build jobs are taking way too long to run
