mercurial/cmdutil.py
changeset 39114 b5040a9cb84c
parent 39113 3f0ef8d19413
child 39126 3ff9d2ec6d88
equal deleted inserted replaced
39113:3f0ef8d19413 39114: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