hgreviewboard /

Filename Size Date modified Message
simplejson
49 B
Convert Windows line endings back to Unix and add .hgeol file
19 B
Convert Windows line endings back to Unix and add .hgeol file
45 B
Added tag 1.0 for changeset e461a0baf62d
1.1 KB
initial checkin
1.6 KB
disable proxy detection, added --longdiff option
16.8 KB
Merging in upstream changes
850 B
Remove dependency on distutils for TortoiseHg 3.5.1 compatibility
19.3 KB
Fixing repos list to support paginating, as by default the API will only give you 200 max
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

# 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/

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