##// END OF EJS Templates
record: don't dereference symlinks while copying over stat data...
record: don't dereference symlinks while copying over stat data Previously, we could be calling os.utime or os.chflags (via shutil.copystat) on a symlink. These functions dereference symlinks, so this would have caused the timestamp of the target to be set. On a read-only or similarly weird filesystem, this might cause an exception to be raised. This is pretty hard to test because conjuring up a read-only filesystem for test purposes is non-trivial.

File last commit:

r16551:ebf6d38c stable
r27370:d9e3ebe5 stable
Show More
renames.hg
0 lines | 1.6 KiB | application/octet-stream | TextLexer
/ tests / bundles / renames.hg
Binary file (application/octet-stream)