#pragma section-numbers 2 = Extension Name = hgreview adds a command to publish, refresh and fetch a patch from a [[https://code.google.com/p/rietveld/|rietveld]] instance. <> == Status == '''This extension is not distributed with Mercurial.''' ''Author: '' ''Nicolas Évrard'' Repository: ''https://bitbucket.org/nicoe/hgreview'' Web page: ''https://bitbucket.org/nicoe/hgreview/'' == 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''. == 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