Update ContributionReviews wiki page with information about our new Mercurial repository.

git-svn-id: http://soc.googlecode.com/svn/wiki@3071 5fae56a1-394a-0410-ba46-5107137fd53f
diff --git a/ContributionReviews.wiki b/ContributionReviews.wiki
index 5cb4af6..230fa1a 100644
--- a/ContributionReviews.wiki
+++ b/ContributionReviews.wiki
@@ -70,26 +70,40 @@
 be in the form of actual output from the `diff` command, or they can be
 the contents of the commit log message sent to the
 [MailingListsGuidelines#Developer_list developer mailing list] when a
-[ContributionReviews#Committers committer] commits a change using `svn`.
+[ContributionReviews#Committers committer] commits a change using `hg`.
 
 Patches should be presented for review in the "unified `diff`" format,
-which is the output resulting from the `svn diff` command (the same format
-as that produced by`diff -uNr`).  This is also the same format as the diff 
-contained in the commit log messages emailed to the developer mailing list.
+which is the output resulting from the `svn diff` command for Subversion (the same format
+as that produced by `diff -uNr`) or `hg diff` command for Mercurial.  This is also the same format as the diff contained in the commit log messages emailed to the developer mailing list.
 
 One special note about creating patches:  please create the patch from
-the `/trunk/` directory (or the `/wiki/` directory if it is a documentation
-change), so that the reviewers and potential committers can apply the
-patch from the base of their `/trunk/` working copy.  For example, for
-a checkout of `https://soc.googlecode.com/svn/trunk/` to `~/code/melange`,
+the main directory (or the `/wiki/` directory if it is a documentation
+change, please note that `/wiki' directory is still on SVN repository), so that the reviewers and potential committers can apply the
+patch from the base of their main working copy.  For example, for
+a checkout of `http://soc.googlecode.com/hg/` to `~/code/melange`,
 create the code review patch with something like:
 
+using SVN:
+
 {{{
 cd ~/code/melange
 svn diff soc/models/new_model.py soc/views/deleted_model.py > my_change.diff
 }}}
 
-Or if using git (assuming origin/master is current upstream and that the desired changes have been committed):
+using Mercurial:
+
+{{{
+cd ~/code/melange
+hg diff soc/models/new_model.py soc/views/deleted_model.py > my_change.diff
+}}}
+
+or changes between two revisions
+
+{{{
+hg diff -r REV1 -r REV2 > my_change.diff
+}}}
+
+Using git (assuming origin/master is current upstream and that the desired changes have been committed):
 
 {{{
 cd ~/code/melange
@@ -112,7 +126,7 @@
 git apply --whitespace=fix -p0 my_change.diff
 }}}
 
-The same `/trunk/` directory root approach should be used with
+The same root directory approach should be used with
 [http://codereviews.googleopensourceprograms.com/static/upload.py `upload.py`]
 to submit
 [ContributionReviews#Using_Rietveld_for_code_reviews Rietveld code reviews].
@@ -131,10 +145,18 @@
 working copy with `patch`.  Such a diff attachment can be produced with
 something like:
 
+using SVN:
+
 {{{
 svn diff some_module.py > some_module.diff
 }}}
 
+using Mercurial:
+
+{{{
+hg diff some_module.py > some_module.diff
+}}}
+
 Or, if using git:
 
 {{{
@@ -143,11 +165,24 @@
 
 For multiple files changed in the same patch, use something like:
 
+using SVN:
+
 {{{
 svn diff some_module.py some_other_module.py > my_new_feature.diff
 }}}
 
+and Mercurial:
+
+{{{
+hg diff some_module.py some_other_module.py > my_new_feature.diff
+}}}
+
 If using git just commit the changes and use format-patch to generate the diff.
+If using Mercurial and you have already committed your changes locally you can command below to create a patch of changes between two revisions:
+
+{{{
+hg diff -r REV1 -r REV2 > my_change.diff
+}}}
 
 Alternately, committers can use `upload.py` to submit
 [ContributionReviews#Using_Rietveld_for_code_reviews Rietveld code reviews].
@@ -186,7 +221,7 @@
 will then display the deltas between the previously supplied diff and the
 new one.
 
-==== Using gcl to manage change sets ====
+==== Using gcl to manage change sets (*Depracated since we switched to Mercurial repository and gcl supports only SVN)*====
 
 Another useful tool for collecting multiple changes into a single "change
 set" for review is `gcl.py`.  A copy of `gcl.py` that has been customized
@@ -274,7 +309,7 @@
 there.
 
 Once the patch is accepted, a committer will patch a working copy and commit
-the changed (or added or deleted) source files to the `svn` repository,
+the changed (or added or deleted) source files to the repository,
 supplying a suitable commit log message.
 
 ==== Reviews after committed patches ====
@@ -282,7 +317,7 @@
 Contributors with [ContributionReviews#Committers commit access] can submit
 changes prior to review.  The participants on the
 [MailingListsGuidelines#Developer_list developer mailing list] are then
-encouraged to review the change, which will be present in the `svn` commit
+encouraged to review the change, which will be present in the commit
 email that was sent to the mailing list.  At least one other person with
 commit access should acknowledge the change with a brief "looks good to me" (LGTM)
 message in response (sent back to the list).  This does of course not prevent
@@ -318,13 +353,13 @@
 pass and the [ContributionReviews#Patches patch has been code-reviewed]
 a [ContributionReviews#Committers committer] (who may or
 [ContributionReviews#Suggested_patches_from_casual_contributors may not]
-be the actual contributor), `svn commit` can be used to commit the change into
+be the actual contributor), `hg commit` can be used to commit the change into
 the
-[http://code.google.com/p/soc/source/browse SoC project SVN repository].
+[http://code.google.com/p/soc/source/browse SoC project repository].
 
-==== svn commit messages ====
+==== commit messages ====
 
-Committers should use the template below for `svn commit` log messages:
+Committers should use the template below for `hg commit` log messages:
 
 {{{
 One line, under 60-80 characters giving a short description of the change
@@ -340,14 +375,14 @@
 
 Note that the person listed with "Patch by:" is the contributor (that
 is, author) of the patch, not necessarily the committer who executes
-the `svn commit` command.  Patches from
+the `hg commit` command.  Patches from
 [ContributionReviews#Suggested_patches_from_casual_contributors casual contributors]
 will, by definition, need to be committed by someone other than the
 author.
 
 === Branches ===
 
-Branches are used for releases only, due to the unfriendly merge nature of svn we do not use branches for "long term development".
+Previously branches were used for releases only, due to the unfriendly merge nature of svn we didn't use branches for "long term development". However since we switched to Mercurial repository we can now use branches more extensively.
 
 == Documentation ==