# HG changeset patch # User Augie Fackler # Date 2020-12-10 18:15:15 # Node ID 6f8a94bbfba121452a8cfddfc83d60d14d92e2d0 # Parent 3f82a915ab2aba10c4db3a147dcf7adcaa9f76ca histedit: adjust comment describing `edit` action for clarity Differential Revision: https://phab.mercurial-scm.org/D9561 diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -34,7 +34,7 @@ file open in your editor:: # # Commands: # p, pick = use commit - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # f, fold = use commit, but combine it with the one above # r, roll = like fold, but discard this commit's description and date # d, drop = remove commit from history @@ -57,7 +57,7 @@ would reorganize the file to look like t # # Commands: # p, pick = use commit - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # f, fold = use commit, but combine it with the one above # r, roll = like fold, but discard this commit's description and date # d, drop = remove commit from history @@ -792,7 +792,7 @@ class pick(histeditaction): return super(pick, self).run() -@action([b'edit', b'e'], _(b'use commit, but stop for amending'), priority=True) +@action([b'edit', b'e'], _(b'use commit, but allow edits before making new commit'), priority=True) class edit(histeditaction): def run(self): repo = self.repo diff --git a/tests/test-histedit-arguments.t b/tests/test-histedit-arguments.t --- a/tests/test-histedit-arguments.t +++ b/tests/test-histedit-arguments.t @@ -77,7 +77,7 @@ Run a dummy edit to make sure we get tip # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -319,7 +319,7 @@ Test that trimming description using mul # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -557,7 +557,7 @@ Check that 'roll' is selected by default # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there diff --git a/tests/test-histedit-bookmark-motion.t b/tests/test-histedit-bookmark-motion.t --- a/tests/test-histedit-bookmark-motion.t +++ b/tests/test-histedit-bookmark-motion.t @@ -73,7 +73,7 @@ # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -130,7 +130,7 @@ # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there diff --git a/tests/test-histedit-commute.t b/tests/test-histedit-commute.t --- a/tests/test-histedit-commute.t +++ b/tests/test-histedit-commute.t @@ -68,7 +68,7 @@ show the edit commands offered # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -94,7 +94,7 @@ test customization of revision summary # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -120,7 +120,7 @@ colors in the custom template don't show # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -405,7 +405,7 @@ Verify that revsetalias entries work wit # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there diff --git a/tests/test-histedit-edit.t b/tests/test-histedit-edit.t --- a/tests/test-histedit-edit.t +++ b/tests/test-histedit-edit.t @@ -475,7 +475,7 @@ Attempting to fold a change into a publi # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, fold = use commit # b, base = checkout changeset and apply further changesets from there diff --git a/tests/test-histedit-obsolete.t b/tests/test-histedit-obsolete.t --- a/tests/test-histedit-obsolete.t +++ b/tests/test-histedit-obsolete.t @@ -139,7 +139,7 @@ Base setup for the rest of the testing # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there diff --git a/tests/test-histedit-outgoing.t b/tests/test-histedit-outgoing.t --- a/tests/test-histedit-outgoing.t +++ b/tests/test-histedit-outgoing.t @@ -49,7 +49,7 @@ show the edit commands offered by outgoi # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -84,7 +84,7 @@ show the error from unrelated repos # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there @@ -111,7 +111,7 @@ test sensitivity to branch in URL: # # Commands: # - # e, edit = use commit, but stop for amending + # e, edit = use commit, but allow edits before making new commit # m, mess = edit commit message without changing commit content # p, pick = use commit # b, base = checkout changeset and apply further changesets from there