my webrev experiment: public, interactive and easy
By Weijun-Oracle on Jun 12, 2008
Well, there're several reasons I don't like webrev very much:
- It's a pile of static files, you must first create them, and upload them to a public website (possibly one by one).
- It used to be a nice archive of what you've done, but now in Mercurial we already have changesets.
- It includes no interactive review process
Recently I've done some experiments on creating a new review style which is meant to be:
- Public, the patch can be created and reviewed by anyone
- Easy, creation and viewing are both very easy
- Richer interaction, request and review can be done interactively along with the patch
To create a hgrev, you need to provide three info:
- A title, possibly a synopsis of a bug item
- The base URL, a public accessible URL that your patch is based on. If you're working on 2 patches at the same time on a single file, sorry. Maybe one day the base URL can be also another hgrev request.
- The patch itself, which is the raw output of "hg diff". Or if you use Mercurial Queue, the raw content of the patch file.
Take a try at http://hgrev.appspot.com/, I've already included several examples there.
By the way, if the webpage does not work with IE or any other web browser, that's my fault.