Submitter | Yuya Nishihara |
---|---|
Date | Jan. 13, 2019, 6:43 a.m. |
Message ID | <81fb0d015830b5ddf89b.1547361833@mimosa> |
Download | mbox | patch |
Permalink | /patch/37705/ |
State | Accepted |
Headers | show |
Comments
On Sun, Jan 13, 2019 at 03:43:53PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara <yuya@tcha.org> > # Date 1547358375 -32400 > # Sun Jan 13 14:46:15 2019 +0900 > # Node ID 81fb0d015830b5ddf89b398aa63e0b56501dc6ac > # Parent 9e4ccae74c4793f1e10f2b89991466247eb8e76a > histedit: remove trailing space from warning message queued, thanks
Patch
diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -1697,7 +1697,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