##// END OF EJS Templates
localrepo: introduce method for explicit branch cache update...
localrepo: introduce method for explicit branch cache update Currently, localrepo.branchtags() is called in two locations to update the _branchcache dict, however branchtags() itself does not update anything, it calls branchmap() to do so. This change introduces a new updatebranchcache() method that is used by both branchmap() and the calls to update the cache.

File last commit:

r10881:a685011e default
r12066:d01e2865 default
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