|
You use qunlock to unlock a revision in a QVCS archive so that others may update that revision. By default, qunlock unlocks the newest revision on the default branch of the QVCS archive.
For QVCS archives that have CHECKLOCK off, qunlock doesn't do anything.
Unlike qput, qunlock does not alter the file attributes of any work file associated with the QVCS archive. If you find that you need to alter the protection attributes of the work file (to make it write-protected), use the DOS command:
attrib -r workfile
Command Template
qunlock [-r REVISION]|[-breakall] filename
where:
-r REVISION (optional, cannot be used with -breakall)
Specifies which revision to unlock. If specified, it should describe a single revision that is already locked by the individual making the unlock request.
-breakall (optional, cannot be used with -r)
Indicates that you want to unconditionally remove all locks for this archive. Using this option will break all locks by all users and leave the archive with no locked revisions.
filename (required)
The work file associated with the QVCS archive you are unlocking.
The filename can make use of the wildcard character * in order to perform the operation on all applicable files in the current directory, all files of a certain extension (e.g. *.cpp), etc.
Examples
qunlock foobar.c
removes the lock on the newest revision in foobar.c's QVCS archive.
qunlock *
unlocks any QVCS archives accessible from the current directory that you locked. Files locked by others will not be unlocked.
qunlock -r 1.3 foobar.c
unlocks the 1.3 revision of foobar.c's QVCS archive.
Command Line Utilities
See also: QWin's corresponding Undo Check-out tool.
|