cmdutil: remove _updatecleanmsg() which is no longer used anywhere
authorYuya Nishihara <yuya@tcha.org>
Fri, 10 Aug 2018 09:20:44 +0900
changeset 39077 b5040a9cb84c
parent 39076 3f0ef8d19413
child 39078 48157f198a04
cmdutil: remove _updatecleanmsg() which is no longer used anywhere
mercurial/cmdutil.py
--- 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')