diff --git a/doc/contribute.html b/doc/contribute.html index caff6ce20ec..9d347fc0d72 100644 --- a/doc/contribute.html +++ b/doc/contribute.html @@ -113,7 +113,7 @@ you are a committer (see below), but Mercurial complains if it is missing.

After adding the extension, hg help codereview will show documentation for its commands. As the codereview extension is only -enabled for your checkout in $GOROOT, the remainder of this +enabled for your checkout in $GOROOT, the remainder of this document assumes you are inside $GOROOT when issuing commands.

@@ -522,14 +522,15 @@ be an effective way of reverting one CL revision and applying another.

Once the CL has been submitted, the next time you run hg sync it will be removed from your local pending list. Occasionally the pending list -can get out of sync leaving stale references to closed or abandoned CLs. +can get out of sync leaving stale references to closed or abandoned CLs. You can use hg change -D 99999 to remove the reference to CL 99999. +

Submit the change after the review

After the code has been LGTM'ed, it is time to submit -it to the Mercurial repository. +it to the Mercurial repository.

@@ -543,6 +544,7 @@ $ hg clpatch 99999 $ hg submit 99999 +

The submit command submits the code. You will be listed as the author, but the change message will also indicate who the committer was. Your local client will notice that the change has been submitted @@ -566,8 +568,7 @@ in the repository.

If your local copy of the repository is out of date, -hg submit -will refuse the change: +hg submit will refuse the change: