diff -r 57a8894e3f75 -r aae1dd12fce6 mercurial/dispatch.py --- a/mercurial/dispatch.py Sat Jul 31 11:41:42 2010 +0900 +++ b/mercurial/dispatch.py Sat Jul 31 11:41:58 2010 +0900 @@ -395,7 +395,7 @@ try: wd = os.getcwd() except OSError, e: - raise util.Abort(_("error getting current working directory: %s") % + raise util.Abort(_("error getting current working directory: %s") % e.strerror) path = cmdutil.findrepo(wd) or "" if not path: