Scripting

scc_lock_file (Tcl Script API Function)



The scc_lock_file function has the following format:

Syntax scc_lock_file <file name>
Arguments

<file name>

The name of the file you want to check out for editing.

Return Value

Code Name Code String Return
TCL_OK 0 scc_lock_file( <file> ) successful
TCL_ERROR 1 scc_lock_file( <file> ) error: <revision control system error>
TCL_ERROR 1 error: unable to write to log file
Description Gets an editable copy of the latest version of the specified file, then locks the file so others cannot check out editable copies of the file from the revision control system.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.