Mercurial > hg-stable
changeset 39114:b5040a9cb84c
cmdutil: remove _updatecleanmsg() which is no longer used anywhere
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 10 Aug 2018 09:20:44 +0900 |
parents | 3f0ef8d19413 |
children | 48157f198a04 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Fri Aug 10 09:18:37 2018 +0900 +++ b/mercurial/cmdutil.py Fri Aug 10 09:20:44 2018 +0900 @@ -607,10 +607,6 @@ def _unshelvemsg(): return _helpmessage('hg unshelve --continue', 'hg unshelve --abort') -def _updatecleanmsg(dest=None): - warning = _('warning: this will discard uncommitted changes') - return 'hg update --clean %s (%s)' % (dest or '.', warning) - def _graftmsg(): # tweakdefaults requires `update` to have a rev hence the `.` return _helpmessage('hg graft --continue', 'hg graft --abort')