comparison hgext/histedit.py @ 41212:240f8e49a7bd

histedit: remove trailing space from warning message
author Yuya Nishihara <yuya@tcha.org>
date Sun, 13 Jan 2019 14:46:15 +0900
parents 57bece69d7be
children 704a3aa3dc0a
comparison
equal deleted inserted replaced
41211:57bece69d7be 41212:240f8e49a7bd
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'), 1700 'do you want to continue (yN)? $$ &Yes $$ &No'),
1701 default=1): 1701 default=1):
1702 raise error.Abort(_('histedit cancelled\n')) 1702 raise error.Abort(_('histedit cancelled\n'))
1703 # rebuild state 1703 # rebuild state
1704 if goal == goalcontinue: 1704 if goal == goalcontinue: