diff -r 58a038605a2b -r 9cbc62f68328 mercurial/dispatch.py --- a/mercurial/dispatch.py Sat Jul 31 11:04:33 2010 +0900 +++ b/mercurial/dispatch.py Sat Jul 31 11:36:24 2010 +0900 @@ -369,7 +369,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: