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

login
register
mail settings
Submitter Yuya Nishihara
Date Jan. 13, 2019, 6:43 a.m.
Message ID <9e4ccae74c4793f1e10f.1547361832@mimosa>
Download mbox | patch
Permalink /patch/37704/
State Accepted
Headers show

Comments

Yuya Nishihara - Jan. 13, 2019, 6:43 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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

Patch

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: