Next: , Previous: Key and Cert Trust, Up: Command Reference


5.6 Certificate

mtn cert id certname
mtn cert id certname certval
These commands create a new certificate with name certname, for a revision with version id. The id argument can be a selector using certs already on the revision, such as h:branchname.

If certval is provided, it is the value of the certificate. Otherwise the certificate value is read from stdin.

mtn approve id
This command is a synonym for mtn cert id branch branchname where branchname is the current branch name (either deduced from the workspace or from the --branch option).
mtn comment id
mtn comment id comment
These commands are synonyms for mtn cert id comment comment. If comment is not provided, it is read from stdin.
mtn suspend id
This command is a synonym for mtn cert id suspend branchname where branchname is the current branch name (either deduced from the workspace or from the --branch option).
mtn tag id tagname
This command associates the symbolic name tagname with the revision id, so that symbolic name can later be used in Selectors for specifying revisions for commands like update or diff.

This command is a synonym for mtn cert id tag tagname.

mtn testresult id 0
mtn testresult id 1
These commands are synonyms for mtn cert id testresult 0 or mtn cert id testresult 1.