Extension Name

hgreview adds a command to publish, refresh and fetch a patch from a rietveld instance.

1. Status

This extension is not distributed with Mercurial.

Author: Nicolas Évrard

Repository: https://bitbucket.org/nicoe/hgreview

Web page: https://bitbucket.org/nicoe/hgreview/

2. Overview

This extensions allows you to publish your patch on a rietveld instance easily:

$ hg review -m "my foobuzz patch'
Server used http://codereview.appspot.com
Issue created. URL: http://codereview.appspot.com/6564064
Uploading base file for hgreview/__init__.py
Uploading current file for hgreview/__init__.py

Afterwards you can easily add new patchset to the existing codereview:

$ hg review -m "my other patch"

If you which to fetch the last patchset of a specific review, you can do it that way:

$ hg review --fetch -i ISSUE_ID

The patch will be downloaded and applied with call to import.

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
hgreview =

You can specify your instance username and server with this configuration

[review]
username = myname@host.example
server = http://codereview.host.example


CategoryExtensionsByOthers

HgReviewExtension (last edited 2012-09-27 21:36:15 by 120)