##// END OF EJS Templates
Do not use osutil.c with python 2.4 and Windows (issue1364)...
Do not use osutil.c with python 2.4 and Windows (issue1364) Windows python 2.4 os.stat() reports times including DST offset, while osutil.c reports the correct value, which makes status() systematically compare files content. This bug is fixed in python 2.5. Using osutil.py instead of osutil.c is 4x times slower on large repositories but current code is completely unusable. Given few people are likely to use python 2.4 on Windows this solution was considered a good trade-off compared to more invasive solutions trying to address the offset issue.

File last commit:

r9934:720f70b7 default
r10521:bde1bb25 stable
Show More
test-inherit-mode.out
57 lines | 1.5 KiB | text/plain | TextLexer
/ tests / test-inherit-mode.out
Alexis S. L. Carvalho
add test-inherit-mode
r6064 % before commit
% store can be written by the group, other files cannot
% store is setgid
00700 ./.hg/
00600 ./.hg/00changelog.i
00600 ./.hg/requires
Alexis S. L. Carvalho
try to fix test-inherit-mode on HFS+...
r6113 00770 ./.hg/store/
Alexis S. L. Carvalho
add test-inherit-mode
r6064
% after commit
% working dir files can only be written by the owner
% files created in .hg can be written by the group
Alexis S. L. Carvalho
tests: hide the name of the branch cache file
r6160 % (in particular, store/**, dirstate, branch cache file, undo files)
Alexis S. L. Carvalho
add test-inherit-mode
r6064 % new directories are setgid
00700 ./.hg/
00600 ./.hg/00changelog.i
00660 ./.hg/dirstate
Greg Ward
commit: save commit message so it's not destroyed by rollback....
r9934 00660 ./.hg/last-message.txt
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00600 ./.hg/requires
Alexis S. L. Carvalho
try to fix test-inherit-mode on HFS+...
r6113 00770 ./.hg/store/
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00660 ./.hg/store/00changelog.i
00660 ./.hg/store/00manifest.i
Alexis S. L. Carvalho
try to fix test-inherit-mode on HFS+...
r6113 00770 ./.hg/store/data/
00770 ./.hg/store/data/dir/
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00660 ./.hg/store/data/dir/bar.i
00660 ./.hg/store/data/foo.i
Adrian Buehlmann
introduce fncache repository layout...
r7229 00660 ./.hg/store/fncache
Alexis S. L. Carvalho
make the journal/undo files from transactions inherit the mode from .hg/store
r6065 00660 ./.hg/store/undo
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00660 ./.hg/undo.branch
00660 ./.hg/undo.dirstate
00700 ./dir/
00600 ./dir/bar
00600 ./foo
% before push
% group can write everything
00770 ../push/.hg/
00660 ../push/.hg/00changelog.i
00660 ../push/.hg/requires
00770 ../push/.hg/store/
% after push
% group can still write everything
00770 ../push/.hg/
00660 ../push/.hg/00changelog.i
John Mulligan
store all heads of a branch in the branch cache...
r7654 00660 ../push/.hg/branchheads.cache
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00660 ../push/.hg/requires
00770 ../push/.hg/store/
00660 ../push/.hg/store/00changelog.i
00660 ../push/.hg/store/00manifest.i
00770 ../push/.hg/store/data/
00770 ../push/.hg/store/data/dir/
00660 ../push/.hg/store/data/dir/bar.i
00660 ../push/.hg/store/data/foo.i
Adrian Buehlmann
introduce fncache repository layout...
r7229 00660 ../push/.hg/store/fncache
Alexis S. L. Carvalho
make the journal/undo files from transactions inherit the mode from .hg/store
r6065 00660 ../push/.hg/store/undo
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00660 ../push/.hg/undo.branch
00660 ../push/.hg/undo.dirstate