Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2008-06-04 12:39:25
Size: 1094
Editor: EmanueleAina
Comment: Added a page for the postreview extension to post csets to a Review Board server
Revision 9 as of 2009-07-18 11:11:22
Size: 1597
Editor: ColinCaughie
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Extension Name == == Review Board ==
Line 3: Line 3:
'''This extension is/is not distributed with Mercurial.''' '''This extension is not distributed with Mercurial.'''
Line 5: Line 5:
''Author: Dennis Schön'' ''Authors: Dennis Schön, Tigran Mkrtchyan''
Line 7: Line 7:
Download site: http://blogma.de/posts/2008/apr/07/reviewboard-extension-mercurial/ Download site: http://code.google.com/p/mercurial-reviewboard/

There is also a fork of this project that adds parent diff support among other things:
http://bitbucket.org/ccaughie/mercurial-reviewboard. (Dennis, please let me know if you want to pull these changes into your own repo, I can't figure out how to contact you).
Line 11: Line 14:
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 49:
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/
}}}
Line 47: Line 59:
CategoryExtension CategoryExtensionsByOthers

Review Board

This extension is not distributed with Mercurial.

Authors: Dennis Schön, Tigran Mkrtchyan

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

There is also a fork of this project that adds parent diff support among other things: http://bitbucket.org/ccaughie/mercurial-reviewboard. (Dennis, please let me know if you want to pull these changes into your own repo, I can't figure out how to contact you).

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/


CategoryExtensionsByOthers

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