Skip to main content

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

--keep

Keep patch file after application

.hgrc options

In the review section of the .hgrc file you can specify some default information:

server

URL of the rietveld instance to use

username

Username on the rietveld instance

host_header

Alternate hostname to use in the Host: header

account_type

Account type for authentication either ‘GOOGLE’ or ‘HOSTED’

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

base_url

The base URL to upload to Rietveld. Useful for interoperating with subversion and git repositories.

nested

A boolean indicating wheter the repository should be considered nested or not.

oauth2

Use OAuth 2.0 instead of a password, defaults to false.

oauth2_port

Port to use to handle OAuth 2.0 redirect. Must be an integer in the range 1024-49151, defaults to 8001.

oauth2_webbrowser

Open a browser window to get an access token, defaults to true.

Metadata

Release files for hgreview 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hgreview 0.4
File Size Uploaded Provenance Actions
hgreview-0.4.tar.gz 7.1 kB Without provenance Details for hgreview-0.4.tar.gz

Release files / hgreview-0.4.tar.gz

Download URL hgreview-0.4.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
573d1de04ff1d9d39421eab2120d874e9ac09e31418d115ce1c114ecc3589662
BLAKE2b-256 checksum
How to use checksums
bfd80c5f359e35ee14fcb63c684e9e8b99bfa98dcf54441ae560e534552dfb7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hgreview 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page