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

r11874:a3c1234b default
r12066:d01e2865 default
Show More
test-cat.t
24 lines | 383 B | text/troff | Tads3Lexer
$ mkdir t
$ cd t
$ hg init
$ echo 0 > a
$ echo 0 > b
$ hg ci -A -m m -d "1000000 0"
adding a
adding b
$ hg rm a
$ hg cat a
0
$ hg cat --decode a # more tests in test-encode
0
$ echo 1 > b
$ hg ci -m m -d "1000000 0"
$ echo 2 > b
$ hg cat -r 0 a
0
$ hg cat -r 0 b
0
$ hg cat -r 1 a
a: No such file in rev 03f6b0774996
$ hg cat -r 1 b
1