[PATCH V2] histedit: adds hint how to reorder changesets at editor (issue3766)

liscju piotr.listkiewicz at gmail.com
Tue Mar 8 21:05:14 UTC 2016


# HG changeset patch
# User liscju <piotr.listkiewicz at gmail.com>
# Date 1457470746 -3600
#      Tue Mar 08 21:59:06 2016 +0100
# Node ID d9ff7769eea1c17d1fba708138bf893599e3c103
# Parent  c7f89ad87baef87f00c507545dfd4cc824bc3131
histedit: adds hint how to reorder changesets at editor (issue3766)

diff -r c7f89ad87bae -r d9ff7769eea1 hgext/histedit.py
--- a/hgext/histedit.py	Mon Feb 29 17:52:17 2016 -0600
+++ b/hgext/histedit.py	Tue Mar 08 21:59:06 2016 +0100
@@ -234,6 +234,8 @@ def geteditcomment(first, last):
 
 Commits are listed from least to most recent
 
+You can reorder changesets by reordering the lines
+
 Commands:
 """)
     actions = []
diff -r c7f89ad87bae -r d9ff7769eea1 tests/test-histedit-arguments.t
--- a/tests/test-histedit-arguments.t	Mon Feb 29 17:52:17 2016 -0600
+++ b/tests/test-histedit-arguments.t	Tue Mar 08 21:59:06 2016 +0100
@@ -63,6 +63,8 @@ Run a dummy edit to make sure we get tip
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
@@ -295,6 +297,8 @@ Test that trimming description using mul
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
diff -r c7f89ad87bae -r d9ff7769eea1 tests/test-histedit-bookmark-motion.t
--- a/tests/test-histedit-bookmark-motion.t	Mon Feb 29 17:52:17 2016 -0600
+++ b/tests/test-histedit-bookmark-motion.t	Tue Mar 08 21:59:06 2016 +0100
@@ -69,6 +69,8 @@
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
@@ -130,6 +132,8 @@
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
diff -r c7f89ad87bae -r d9ff7769eea1 tests/test-histedit-commute.t
--- a/tests/test-histedit-commute.t	Mon Feb 29 17:52:17 2016 -0600
+++ b/tests/test-histedit-commute.t	Tue Mar 08 21:59:06 2016 +0100
@@ -63,6 +63,8 @@ show the edit commands offered
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
@@ -339,6 +341,8 @@ Verify that revsetalias entries work wit
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
diff -r c7f89ad87bae -r d9ff7769eea1 tests/test-histedit-edit.t
--- a/tests/test-histedit-edit.t	Mon Feb 29 17:52:17 2016 -0600
+++ b/tests/test-histedit-edit.t	Tue Mar 08 21:59:06 2016 +0100
@@ -463,6 +463,8 @@ Attempting to fold a change into a publi
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
diff -r c7f89ad87bae -r d9ff7769eea1 tests/test-histedit-obsolete.t
--- a/tests/test-histedit-obsolete.t	Mon Feb 29 17:52:17 2016 -0600
+++ b/tests/test-histedit-obsolete.t	Tue Mar 08 21:59:06 2016 +0100
@@ -127,6 +127,8 @@ Base setup for the rest of the testing
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
diff -r c7f89ad87bae -r d9ff7769eea1 tests/test-histedit-outgoing.t
--- a/tests/test-histedit-outgoing.t	Mon Feb 29 17:52:17 2016 -0600
+++ b/tests/test-histedit-outgoing.t	Tue Mar 08 21:59:06 2016 +0100
@@ -45,6 +45,8 @@ show the edit commands offered by outgoi
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
@@ -77,6 +79,8 @@ show the error from unrelated repos
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending
@@ -101,6 +105,8 @@ test sensitivity to branch in URL:
   #
   # Commits are listed from least to most recent
   #
+  # You can reorder changesets by reordering the lines
+  #
   # Commands:
   #
   #  e, edit = use commit, but stop for amending


More information about the Mercurial-devel mailing list