Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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 # password = ... # target_groups = ... # default review groups # target_people = ... # default review people # launch_webbrowser = true # open review in a browser

# For a specific proxy specify: # http_proxy = http://192.168.1.1:3128 # For no proxy use # http_proxy = none # otherwise your proxy will be autodetected from the 'http_proxy' env var(unix) # or the registry(windows)

--- ~/.hgrc ---

Configure the Review Board reposity id for this Hg repo per in your per project mercurial prefs(.hg/hgrc).

--- .hg/hgrc --- [reviewboard] repoid = n --- .hg/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 mercurial_reviewboard/tests/virtualenv/bootstrap.py ENV --no-site-packages ENV/bin/nosetests

See the TESTING file for more information.

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

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.