"cleartool lock
" command can be applied to lbtype object "REL1
" as well as "file element foo.c version \main\3
".
Assume REL1
has been applied to foo.c@@\main\3
.
Assume foo.c@@\main\2
is unlocked.
Applying lock to lbtype object "REL1
" will prevent applying "REL1
" to any more versions of any other files.
This will not prevent replacing "REL1
" on an foo.c
version \main\3
with another yet unlocked LABEL TYPE "REL2
" for example.
This will prevent relocating "REL1
" to foo.c@@\main\2
assuming foo.c@@\main\2
is unlocked.
Applying lock to "foo.c@@\main\3
" will prevent removing the already applied RELEASE LABEL type to that particular version to be replaced or to add any more new LABEL TYPE to that foo.c@@\main\3
of the element or removing any already applied Release Label Types to foo.c@@\main\3
.
Applying lock to an element version doesn't prevent checkout for the element version.
Are all the above statements correct, so that I understand difference locking Release Label Types and File Element Versions?