Mercurial > hg
comparison hgext/histedit.py @ 41211:57bece69d7be
histedit: fix weird indent of i18n text
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 13 Jan 2019 14:44:44 +0900 |
parents | 25cec00b333c |
children | 240f8e49a7bd |
comparison
equal
deleted
inserted
replaced
41210:929999d963b8 | 41211:57bece69d7be |
---|---|
1694 tags = [tag for tag in ctx.tags() if tag != 'tip'] | 1694 tags = [tag for tag in ctx.tags() if tag != 'tip'] |
1695 if not hastags: | 1695 if not hastags: |
1696 hastags = len(tags) | 1696 hastags = len(tags) |
1697 if hastags: | 1697 if hastags: |
1698 if ui.promptchoice(_('warning: tags associated with the given' | 1698 if ui.promptchoice(_('warning: tags associated with the given' |
1699 ' changeset will be lost after histedit. \n' | 1699 ' changeset will be lost after histedit. \n' |
1700 'do you want to continue (yN)? $$ &Yes $$ &No'), default=1): | 1700 'do you want to continue (yN)? $$ &Yes $$ &No'), |
1701 default=1): | |
1701 raise error.Abort(_('histedit cancelled\n')) | 1702 raise error.Abort(_('histedit cancelled\n')) |
1702 # rebuild state | 1703 # rebuild state |
1703 if goal == goalcontinue: | 1704 if goal == goalcontinue: |
1704 state.read() | 1705 state.read() |
1705 state = bootstrapcontinue(ui, state, opts) | 1706 state = bootstrapcontinue(ui, state, opts) |