Differences between revisions 4 and 10 (spanning 6 versions)
Revision 4 as of 2008-06-05 18:44:48
Size: 1075
Editor: DennisSchoen
Comment: download url changed to new public repository
Revision 10 as of 2009-07-23 12:32:43
Size: 1622
Editor: ColinCaughie
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
''Author: Dennis Schön'' ''Authors: Dennis Schön, Tigran Mkrtchyan, Colin Caughie''
Line 7: Line 7:
Download site: http://freehg.org/u/roccoblues/mercurial-reviewboard/ Download site: http://code.google.com/p/mercurial-reviewboard/
Line 11: Line 11:
This extension adds a new command 'postreview' to post changesets for review to a [http://www.review-board.org/ Review Board] server. This extension adds a new command 'postreview' to post changesets for review to a [[http://www.review-board.org/|Review Board]] server.
Line 46: Line 46:
To update the review request ID 12 with the tip changeset:

{{{
$ hg postreview -r 12 tip
login to http://reviewboard.example.com
username: ...
password:
review request draft saved: http://reviewboard.example.com/r/12/
}}}

To request a review for changeset 189 using the upstream repository to determine the base revision to use for a parent diff (see http://www.review-board.org/docs/manual/dev/users/tools/post-review/ for an explanation of parent diffs):

{{{
$ hg postreview -o 189
}}}
Line 47: Line 63:
CategoryExtension CategoryExtensionsByOthers

Review Board

This extension is not distributed with Mercurial.

Authors: Dennis Schön, Tigran Mkrtchyan, Colin Caughie

Download site: http://code.google.com/p/mercurial-reviewboard/

Overview

This extension adds a new command 'postreview' to post changesets for review to a Review Board server.

Configuration

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

[extensions]
reviewboard = /path/to/reviewboard

[reviewboard]
# REQUIRED ITEMS:
server          = http://reviewboard.example.com/

# OPTIONAL ITEMS:
# user            = ... # username for login
# target_groups   = ... # default review groups
# target_people   = ... # default review people

Usage

To post the tip changeset to the Review board server:

$ hg postreview tip
login to http://reviewboard.example.com
username: ...
password:
Repositories:
[1] Stuff
[2] miscrepo
repository id: 1
review request draft saved: http://reviewboard.example.com/r/366/

To update the review request ID 12 with the tip changeset:

$ hg postreview -r 12 tip
login to http://reviewboard.example.com
username: ...
password:
review request draft saved: http://reviewboard.example.com/r/12/

To request a review for changeset 189 using the upstream repository to determine the base revision to use for a parent diff (see http://www.review-board.org/docs/manual/dev/users/tools/post-review/ for an explanation of parent diffs):

$ hg postreview -o 189


CategoryExtensionsByOthers

ReviewboardExtension (last edited 2013-08-31 15:56:12 by KevinBot)