comparison hgext/histedit.py @ 18323:7648b87e76db stable

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 14 Jan 2013 23:14:45 +0900
parents e819c12a8bd0
children 2eae2f9e85ef
comparison
equal deleted inserted replaced
18322:e819c12a8bd0 18323:7648b87e76db
106 much work it will be to rearrange history, or that you made a mistake, 106 much work it will be to rearrange history, or that you made a mistake,
107 you can use ``hg histedit --abort`` to abandon the new changes you 107 you can use ``hg histedit --abort`` to abandon the new changes you
108 have made and return to the state before you attempted to edit your 108 have made and return to the state before you attempted to edit your
109 history. 109 history.
110 110
111 If we clone the example repository above and add three more changes, such that 111 If we clone the histedit-ed example repository above and add four more
112 we have the following history:: 112 changes, such that we have the following history::
113 113
114 @ 6[tip] 038383181893 2009-04-27 18:04 -0500 stefan 114 @ 6[tip] 038383181893 2009-04-27 18:04 -0500 stefan
115 | Add theta 115 | Add theta
116 | 116 |
117 o 5 140988835471 2009-04-27 18:04 -0500 stefan 117 o 5 140988835471 2009-04-27 18:04 -0500 stefan