# HG changeset patch # User Thomas Arendsen Hein # Date 1165669236 -3600 # Node ID 973c6e6ca7a1711c80a57591a89d71465a3fbc3e # Parent 3820385fb113d1fee9caae86ab9975be9cc07630 Removed unneeded OSError exception handler. OSErrors will already be handled in the outside try/except. diff -r 3820385fb113 -r 973c6e6ca7a1 mercurial/commands.py --- a/mercurial/commands.py Sat Dec 09 11:16:27 2006 +0100 +++ b/mercurial/commands.py Sat Dec 09 14:00:36 2006 +0100 @@ -2991,11 +2991,7 @@ try: if options['cwd']: - try: - os.chdir(options['cwd']) - except OSError, inst: - raise util.Abort('%s: %s' % - (options['cwd'], inst.strerror)) + os.chdir(options['cwd']) u.updateopts(options["verbose"], options["debug"], options["quiet"], not options["noninteractive"], options["traceback"],