##// END OF EJS Templates
archive: set date to 1980 for very old zip files...
archive: set date to 1980 for very old zip files The zip file format stores the date using "MS-DOS format" which apparently means that they use 1980 as their epoch. Python's zipfile module emits deprecation warnings of this form /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: struct integer overflow masking is deprecated self.fp.write(zinfo.FileHeader()) /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.fp.write(zinfo.FileHeader()) /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: struct integer overflow masking is deprecated self.z.close() /home/mg/src/mercurial-crew/mercurial/archival.py:169: DeprecationWarning: 'H' format requires 0 <= number <= 65535 self.z.close() when it is given such old timestamps. This fixes this by silently clamping the date to 1980.

File last commit:

r10881:a685011e default
r12319:381f1312 stable
Show More
test-inherit-mode.out
59 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
Steve Borho
localrepo: add desc parameter to transaction...
r10881 00660 ./.hg/undo.desc
Alexis S. L. Carvalho
add test-inherit-mode
r6064 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
Steve Borho
localrepo: add desc parameter to transaction...
r10881 00660 ../push/.hg/undo.desc
Alexis S. L. Carvalho
add test-inherit-mode
r6064 00660 ../push/.hg/undo.dirstate