equal
deleted
inserted
replaced
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 |