[PATCH 1 of 2] histedit: fix weird indent of i18n text

Yuya Nishihara yuya at tcha.org
Sun Jan 13 06:43:52 UTC 2019


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1547358284 -32400
#      Sun Jan 13 14:44:44 2019 +0900
# Node ID 9e4ccae74c4793f1e10f2b89991466247eb8e76a
# Parent  ed29a1a69f505fb8b35e8a36c220a50c99baa4cd
histedit: fix weird indent of i18n text

diff --git a/hgext/histedit.py b/hgext/histedit.py
--- a/hgext/histedit.py
+++ b/hgext/histedit.py
@@ -1697,8 +1697,9 @@ 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'
-            'do you want to continue (yN)? $$ &Yes $$ &No'), default=1):
+                             ' changeset will be lost after histedit. \n'
+                             'do you want to continue (yN)? $$ &Yes $$ &No'),
+                           default=1):
             raise error.Abort(_('histedit cancelled\n'))
     # rebuild state
     if goal == goalcontinue:


More information about the Mercurial-devel mailing list