hg-review /

Filename Size Date modified Message
bundled
contrib
docs
review
78 B
70 B
10 B
17.6 KB
1.5 KB
556 B
126 B

hg-review is not currently stable!

Do not use it for anything mission-critical!

Seriously, it might break at any moment!

You can look at some screenshots, but be warned that they might be a little out of date!

Installing

hg-review requires Mercurial 1.6+ and Python 2.5+. It requires a few other things too, but they're bundled with the extension so you don't need to worry about them.

First, get hg-review:

hg clone http://bitbucket.org/sjl/hg-review/

Then add it to your ~/.hgrc:

[extensions]
review = [path to]/hg-review/review/

You're all set.

Try It

hg-review uses itself for code review.

I know, I know, it's so goddamn meta I think the internet might explode.

If you want to get a quick taste of how it works:

cd path/to/wherever/you/cloned/hg-review
hg review --init
hg review --web

Now visit http://localhost:8080/ and have fun. Use ^C to kill the server when you're done.

Unit Tests

The unit tests require nose:

pip install nose

Don't have pip? Get it. But if you really want to easy_install...

easy_install nose

Run the unit tests:

cd [path to]/hg-review
nosetests

Progress

Take a look at the list of tests to see what I've got working so far:

cd [path to]/hg-review
nosetests -v
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.