equal
deleted
inserted
replaced
368 os.symlink(sys.executable, mypython) |
368 os.symlink(sys.executable, mypython) |
369 except AttributeError: |
369 except AttributeError: |
370 # windows fallback |
370 # windows fallback |
371 shutil.copyfile(sys.executable, mypython) |
371 shutil.copyfile(sys.executable, mypython) |
372 shutil.copymode(sys.executable, mypython) |
372 shutil.copymode(sys.executable, mypython) |
|
373 except OSError, err: |
|
374 # child processes may race, which is harmless |
|
375 if err.errno != errno.EEXIST: |
|
376 raise |
373 |
377 |
374 def installhg(options): |
378 def installhg(options): |
375 vlog("# Performing temporary installation of HG") |
379 vlog("# Performing temporary installation of HG") |
376 installerrs = os.path.join("tests", "install.err") |
380 installerrs = os.path.join("tests", "install.err") |
377 compiler = '' |
381 compiler = '' |