[PATCH 3 of 3 STABLE] histedit: correct the number of added revisions in online help

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Mon Jan 14 08:19:11 CST 2013


# HG changeset patch
# User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
# Date 1358172885 -32400
# Branch stable
# Node ID ee7daf86b6250a808e2d6a87a8a23a54c6fa4e49
# Parent  9f51e27795d615835924eb639ac1accaeb92444f
histedit: correct the number of added revisions in online help

In the context of help document on which this patch focuses, the
example repository, which is source of cloning, should be already
histedit-ed, and contain only 3 revisions (rev # 0 to 2). So, not 3,
but 4 revisions should be added to the destination repository of
cloning, if it contains 7 revisions (rev # 0 to 6).

This patch also adds modifier "histedit-ed" to "example repository",
to make context clear.

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -108,8 +108,8 @@
 have made and return to the state before you attempted to edit your
 history.
 
-If we clone the example repository above and add three more changes, such that
-we have the following history::
+If we clone the histedit-ed example repository above and add four more
+changes, such that we have the following history::
 
    @  6[tip]   038383181893   2009-04-27 18:04 -0500   stefan
    |    Add theta


More information about the Mercurial-devel mailing list