How do I undo the checkout of a file via the command line?
Is it something like:
-command UndoCheckoutFile -project "project" -file "file to undo"
Thanks
Undo Checkout for command line
Moderator: SourceGear
Here are the two check out commands we have in SOS:
- UndoProjectCheckout -
Cancels the checkout of a project by overwriting the files in the
project with the latest version under source control. This
operation also makes the files in the project read-only.
Specifying -recursive will undo the checkout of the entire project
tree under the project.
Required Params: -server, -name, -password, -database or -alias, -project
Optional Params: -workdir, -recursive
- UndoCheckOut -
Cancels a checkout by overwriting the file with the latest version
under source control. Also makes the file read-only. If a working
directory is not specified (please see the Note on Working
Directories above for information on how working directories
function), the Command Line Client will assume the current directory
or the file is a full pathname.
Required Params: -server, -name, -password, -database or -alias, -project,
-file
Optional Params: -workdir
You can find our CLC documentation here: http://download.sourcegear.com/misc/sos ... lient1.htm
- UndoProjectCheckout -
Cancels the checkout of a project by overwriting the files in the
project with the latest version under source control. This
operation also makes the files in the project read-only.
Specifying -recursive will undo the checkout of the entire project
tree under the project.
Required Params: -server, -name, -password, -database or -alias, -project
Optional Params: -workdir, -recursive
- UndoCheckOut -
Cancels a checkout by overwriting the file with the latest version
under source control. Also makes the file read-only. If a working
directory is not specified (please see the Note on Working
Directories above for information on how working directories
function), the Command Line Client will assume the current directory
or the file is a full pathname.
Required Params: -server, -name, -password, -database or -alias, -project,
-file
Optional Params: -workdir
You can find our CLC documentation here: http://download.sourcegear.com/misc/sos ... lient1.htm