diff -r 55ff67ffcead -r 7b17f9de6d3e mercurial/scmutil.py --- a/mercurial/scmutil.py Sat Jun 03 19:12:01 2017 +0900 +++ b/mercurial/scmutil.py Sat Aug 20 22:37:58 2016 +0900 @@ -190,6 +190,8 @@ if inst.hint: ui.warn(_("(%s)\n") % inst.hint) return 1 + except error.WdirUnsupported: + ui.warn(_("abort: working directory revision cannot be specified\n")) except error.Abort as inst: ui.warn(_("abort: %s\n") % inst) if inst.hint: