histedit: remove trailing space from warning message
authorYuya Nishihara <yuya@tcha.org>
Sun, 13 Jan 2019 14:46:15 +0900
changeset 41212 240f8e49a7bd
parent 41211 57bece69d7be
child 41213 704a3aa3dc0a
histedit: remove trailing space from warning message
hgext/histedit.py
tests/test-histedit-edit.t
--- 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