##// END OF EJS Templates
transaction: use 'util.copyfile' for creating backup...
transaction: use 'util.copyfile' for creating backup Using 'copyfile' (single file) instead of 'copyfiles' (tree) will ensures destination file will be overwritten. This will prevent some abort if backup file are left in place for random reason. It also seems more correct.

File last commit:

r14971:0b21ae0a default
r23900:5eb3541f default
Show More
sitecustomize.py
5 lines | 111 B | text/x-python | PythonLexer
Dirkjan Ochtman
tests: use external coverage, mandate newer version...
r10648 try:
import coverage
Augie Fackler
tests: use getattr instead of hasattr
r14971 getattr(coverage, 'process_startup', lambda: None)()
Dirkjan Ochtman
tests: use external coverage, mandate newer version...
r10648 except ImportError:
pass