mirror of https://github.com/NaN-tic/hgreview.git
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
hgreview
|
|
========
|
|
|
|
Mercurial extension to work with rietveld code review.
|
|
|
|
It was inspired by the hg nested extension.
|
|
|
|
This extension allow to upload to the rietveld code review website, creating a
|
|
new issue and remembering its ID for future patches.
|
|
|
|
See `hg help review` for the complete list of commands.
|
|
|
|
Options
|
|
-------
|
|
|
|
-r VALUE Add reviewers
|
|
-i VALUE Issue number. Defaults to new issue
|
|
-m VALUE Codereview message
|
|
--rev VALUE Revision number to diff against
|
|
--send_email Send notification email to reviewers
|
|
--id Output issue id
|
|
--url Output issue URL
|
|
--fetch Fetch patch and apply to repository
|
|
|
|
.hgrc options
|
|
-------------
|
|
|
|
In the review section of the .hgrc file you can specify some default
|
|
information:
|
|
|
|
servers
|
|
URL/s of the rietveld instance/s to use. Add in list format although if only one.
|
|
Account type/s for authentication either 'GOOGLE' or 'HOSTED'.
|
|
|
|
If you have a special port add in the URL
|
|
e.g.:
|
|
http://codereview.dom1.cat username account_type
|
|
http://codereview.dom2.org:8000 username account_type
|
|
|
|
|
|
host_header
|
|
Alternate hostname to use in the `Host:` header
|
|
|
|
|
|
cc_header
|
|
Comma separated value of username / email in CC of the review
|
|
|
|
send_email
|
|
A boolean to indicate if the rietveld instance should or not send emails
|
|
after the review has been submitted
|