# HG changeset patch # User Yuya Nishihara # Date 1533860444 -32400 # Node ID b5040a9cb84c3c837aef1cee47d6f7fb5198ca36 # Parent 3f0ef8d194133746f9c89623ae3c020a351fc8e0 cmdutil: remove _updatecleanmsg() which is no longer used anywhere diff -r 3f0ef8d19413 -r b5040a9cb84c 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')