Hi all
Is it possible to pilot SourceOffSite from our code like a COM application (we can do so with EXCEL or Visual Source Safe) or if not, is it to make some dos way command lines to do some
- ckeck in
- check out
- undo check out
- get the status of a file
...
Thanks for your answer...
Antoine, de Bordeaux...
Taking control on SourceOFfSite from our source code
Moderator: SourceGear
-
- Posts: 3
- Joined: Wed May 17, 2006 9:35 am
We don't have COM, but we do have a command line client that can be used in scripts.
The SOS 4.1.2 command line client is called soscmd.exe and is in the SOS GUI Client directory.
The documentation is called soscmd.txt.
See this link for information, plus the 3.5.3 soscmd.exe, in case you are using SOS 3.5.x.
http://support.sourcegear.com/viewtopic.php?t=1266
The SOS 4.1.2 command line client is called soscmd.exe and is in the SOS GUI Client directory.
The documentation is called soscmd.txt.
See this link for information, plus the 3.5.3 soscmd.exe, in case you are using SOS 3.5.x.
http://support.sourcegear.com/viewtopic.php?t=1266
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 3
- Joined: Wed May 17, 2006 9:35 am
Look at the end of the documentation for examples.
Here's one from soscmd.txt:
Here's one from soscmd.txt:
Code: Select all
Example 3: Check out a file
---------------------------
This checks out the latest version of the file "source1.h" and places
it into the working directory set in the GUI Client.
soscmd -command CheckOutFile -server garcon:8080 -name joe
-password camel -database c:\VSS\srcsafe.ini
-project $/projects/apollo/src -file source1.h
-soshome "C:\Documents and Settings\<user>\Application Data\SourceGear\SOS"
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 3
- Joined: Wed May 17, 2006 9:35 am