close¶
rbt close will close the review request matching
review-request-id
as submitted. Optionally a review request may be
discarded by providing the value discarded
to the --close-type
option.
Usage:
$ rbt close [options] <review-request-id>
Default Options¶
A number of options to rbt close can be set by default
in .reviewboardrc
. These can go either in the repository’s
or the user’s .reviewboardrc
.
The options include:
DEBUG
(-d
)REVIEWBOARD_URL
(--server
)USERNAME
(--username
)PASSWORD
(--password
)REPOSITORY_TYPE
(--repository-type
)
Options¶
-
-d
,
–debug
¶
Display debug output.
The default can be set in
DEBUG
in.reviewboardrc
.
-
–close-type
¶
Either
submitted
ordiscarded
. If not supplied, defaults tosubmitted
.
-
–description
¶
Optional description accompanying the change.
-
–server
¶
Specify a different Review Board server to use.
The default can be set in
REVIEWBOARD_URL
in.reviewboardrc
.
-
–username
¶
Username to be supplied to the Review Board server.
The default can be set in
USERNAME
in.reviewboardrc
.
-
–password
¶
Password to be supplied to the Review Board server.
The default can be set in
PASSWORD
in.reviewboardrc
.
-
–repository-type
¶
Specifies the type of repository in the current directory. In most cases this should be detected automatically, but some directory structures containing multiple repositories require this option to select the proper type. The rbt list-repo-types command can be used to list the supported values.
The default can be set in
REPOSITORY_TYPE
in.reviewboardrc
.