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

login
register
mail settings
Submitter Katsunori FUJIWARA
Date Jan. 14, 2013, 2:19 p.m.
Message ID <ee7daf86b6250a808e2d.1358173151@juju>
Download mbox | patch
Permalink /patch/592/
State Accepted
Commit 7648b87e76dbf89c9cdfb7993c52479480ff43c7
Headers show

Comments

Katsunori FUJIWARA - Jan. 14, 2013, 2:19 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@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.

Patch

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