[PATCH 2 of 2] cmdutil: remove _updatecleanmsg() which is no longer used anywhere
Yuya Nishihara
yuya at tcha.org
Sat Aug 11 23:27:00 EDT 2018
# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1533860444 -32400
# Fri Aug 10 09:20:44 2018 +0900
# Node ID 72f91934d88362792e8b6b79ceb51e90d655364e
# Parent 365ea9b1e7f8ed5e803ea5403345afb6e219712b
cmdutil: remove _updatecleanmsg() which is no longer used anywhere
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -607,10 +607,6 @@ def _histeditmsg():
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')
More information about the Mercurial-devel
mailing list