# HG changeset patch # User Yuya Nishihara # Date 2019-01-13 05:46:15 # Node ID 240f8e49a7bd005c7cb6551395797d52e5e3d8b8 # Parent 57bece69d7beae2436c0ebf7564480fbbf665021 histedit: remove trailing space from warning message diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1696,7 +1696,7 @@ def _histedit(ui, repo, state, *freeargs 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')) 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 @@ -496,7 +496,7 @@ warn the user on editing tagged commits 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