Removed unneeded OSError exception handler.
OSErrors will already be handled in the outside try/except.
--- 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"],