changeset 41212:240f8e49a7bd

histedit: remove trailing space from warning message
author Yuya Nishihara <yuya@tcha.org>
date Sun, 13 Jan 2019 14:46:15 +0900
parents 57bece69d7be
children 704a3aa3dc0a
files hgext/histedit.py tests/test-histedit-edit.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/histedit.py	Sun Jan 13 14:44:44 2019 +0900
+++ b/hgext/histedit.py	Sun Jan 13 14:46:15 2019 +0900
@@ -1696,7 +1696,7 @@
                 hastags = len(tags)
     if hastags:
         if ui.promptchoice(_('warning: tags associated with the given'
-                             ' changeset will be lost after histedit. \n'
+                             ' changeset will be lost after histedit.\n'
                              'do you want to continue (yN)? $$ &Yes $$ &No'),
                            default=1):
             raise error.Abort(_('histedit cancelled\n'))
--- a/tests/test-histedit-edit.t	Sun Jan 13 14:44:44 2019 +0900
+++ b/tests/test-histedit-edit.t	Sun Jan 13 14:46:15 2019 +0900
@@ -496,7 +496,7 @@
   tip                                1:bd7ee4f3939b
   a                                  0:a8a82d372bb3
   $ hg histedit
-  warning: tags associated with the given changeset will be lost after histedit. 
+  warning: tags associated with the given changeset will be lost after histedit.
   do you want to continue (yN)?  n
   abort: histedit cancelled