Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 39077: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 | 3ff9d2ec6d88 |
comparison
equal
deleted
inserted
replaced
39076:3f0ef8d19413 | 39077:b5040a9cb84c |
---|---|
604 def _histeditmsg(): | 604 def _histeditmsg(): |
605 return _helpmessage('hg histedit --continue', 'hg histedit --abort') | 605 return _helpmessage('hg histedit --continue', 'hg histedit --abort') |
606 | 606 |
607 def _unshelvemsg(): | 607 def _unshelvemsg(): |
608 return _helpmessage('hg unshelve --continue', 'hg unshelve --abort') | 608 return _helpmessage('hg unshelve --continue', 'hg unshelve --abort') |
609 | |
610 def _updatecleanmsg(dest=None): | |
611 warning = _('warning: this will discard uncommitted changes') | |
612 return 'hg update --clean %s (%s)' % (dest or '.', warning) | |
613 | 609 |
614 def _graftmsg(): | 610 def _graftmsg(): |
615 # tweakdefaults requires `update` to have a rev hence the `.` | 611 # tweakdefaults requires `update` to have a rev hence the `.` |
616 return _helpmessage('hg graft --continue', 'hg graft --abort') | 612 return _helpmessage('hg graft --continue', 'hg graft --abort') |
617 | 613 |