--- a/hgext/rebase.py Mon Jan 09 16:02:56 2017 +0900
+++ b/hgext/rebase.py Tue Jan 10 09:32:27 2017 +0100
@@ -1316,9 +1316,9 @@
ui.debug('--update and --rebase are not compatible, ignoring '
'the update flag\n')
- ui.debug('before rebase: ensure working dir is clean\n')
cmdutil.checkunfinished(repo)
- cmdutil.bailifchanged(repo)
+ cmdutil.bailifchanged(repo, hint=_('cannot pull with rebase: '
+ 'please commit or shelve your changes first'))
revsprepull = len(repo)
origpostincoming = commands.postincoming