Source

mercurial-reviewboard / README

Full commit
mdelagra 6809ab8 
Dennis Schoen 6e700cc 







































Dennis Schoen c7e5bbe 

Colin Caughie 8f58e75 
Dennis Schoen c7e5bbe 




mdelagra 85fe897 

mdelagra f8e2c5f 
mdelagra 85fe897 
mdelagra 1d4dc07 



mdelagra 1a46cfb 


mdelagra f08d331 



mdelagra 1a46cfb 

Dennis Schoen 6e700cc 
reviewboard extension for mercurial

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

For more information about Review Board see: http://www.review-board.org/


CONFIGURATION:

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

--- ~/.hgrc ---
[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
--- ~/.hgrc ---


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 -e 12 tip
login to http://reviewboard.example.com
username: ...
password:
review request draft saved: http://reviewboard.example.com/r/12/

To post all changes not present in the parent repository:

$ hg postreview -o -g

To post all changes on branch "my_branch":

$ hg postreview -b my_branch


TESTING:

In order to run the plugin tests, run:

    python bootstrap.py ENV --no-site-packages
    ENV/bin/nosetests


Copyright (C) 2008 Dennis Schoen <dennis.schoen@epublica.de>