Differences between revisions 1 and 2
Revision 1 as of 2009-09-07 21:12:27
Size: 1461
Comment:
Revision 2 as of 2009-09-07 21:14:17
Size: 1488
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
This extension allows you to manage reviews for your code.
It helps to keep the review management inside the mercurial.
One can add files to the review or remove them.
The reviewer can mark the code as 'completed' review cycle.
You can also check what is the review status - what is done and what is not yet.
The extension will automatically spot the files that were changed since their last review and notify about that.
 This extension allows you to manage reviews for your code.
 It helps to keep the review management inside the mercurial.
 One can add files to the review or remove them.
 The reviewer can mark the code as 'completed' review cycle.
 You can also check what is the review status - what is done and what is not yet.
 The extension will automatically spot the files that were changed since their last review and notify about that.
Line 20: Line 20:
Code review database is stored in .code-review file in your repository
root directory as a simple text file holding a map of each file and revision when review was done.
 Code review database is stored in .code-review file in your repository root directory as a simple text file holding a map of each file and revision when review was done.
Line 25: Line 24:
Download hgcr.py and configure your [[.hgrc]] to enable the extension by adding following lines: Download hgcr.py and configure your [[.hgrc]] or [[mercurial.ini]] to enable the extension by adding following lines:

CodeReview Extension

This extension is not distributed with Mercurial

Author: Roman Zeyde

Overview

  • This extension allows you to manage reviews for your code. It helps to keep the review management inside the mercurial. One can add files to the review or remove them. The reviewer can mark the code as 'completed' review cycle. You can also check what is the review status - what is done and what is not yet. The extension will automatically spot the files that were changed since their last review and notify about that. Code review database is stored in .code-review file in your repository root directory as a simple text file holding a map of each file and revision when review was done.

Configuration

Download hgcr.py and configure your .hgrc or mercurial.ini to enable the extension by adding following lines:

[extensions]
code-review = /path/to/hgcr.py

Usage

hg cr

hg cr [OPTIONS] [FILES]

Code Review Plugin (requires Mercurial 1.1.x!)

options:

 -c --complete  Mark CR as complete
 -a --add       Add files to CR list
 -r --remove    Remove files from CR list
 -l --list      Print files in CR list

use "hg -v help cr" to show global options


CategoryExtensionsByOthers

FileReviewExtension (last edited 2009-12-22 18:13:15 by weakish)