##// END OF EJS Templates
hghave: fix 'rmcwd' to ensure temporary directory is removed...
Yuya Nishihara -
r30242:389cbfe6 stable
parent child Browse files
Show More
@@ -360,6 +360,11 b' def has_rmcwd():'
360 return False
360 return False
361 finally:
361 finally:
362 os.chdir(ocwd)
362 os.chdir(ocwd)
363 # clean up temp dir on platforms where cwd can't be removed
364 try:
365 os.rmdir(temp)
366 except OSError:
367 pass
363
368
364 @check("tla", "GNU Arch tla client")
369 @check("tla", "GNU Arch tla client")
365 def has_tla():
370 def has_tla():
General Comments 0
You need to be logged in to leave comments. Login now