##// 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:

r10398:ace3cf2b default
r12066:d01e2865 default
Show More
test-pull-http.out
12 lines | 347 B | text/plain | TextLexer
adding a
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
% expect error, cloning not allowed
abort: authorization failed
requesting all changes
% serve errors
% expect error, pulling not allowed
abort: authorization failed
pulling from http://localhost:$HGPORT/
searching for changes
% serve errors