##// END OF EJS Templates
httppeer: always add x-hg* headers to Vary header...
httppeer: always add x-hg* headers to Vary header Before, we manually updated the Vary header value for each header contributing to it. All X-Hg* headers are reserved for the Mercurial protocol and could have caching implications. So it makes sense to always add these headers to Vary. A test revealed that X-HgArgs-Post wasn't being added to Vary. This is only sent on POST requests. POST requests generally aren't cacheable. However, it is possible if the server sends the appropriate headers. Mercurial shouldn't be sending those headers. But let's not take any chances. Differential Revision: https://phab.mercurial-scm.org/D3240

File last commit:

r23331:3b1b8f25 default
r37573:930c433e default
Show More
test-ancestor.py.out
18 lines | 686 B | text/plain | TextLexer
/ tests / test-ancestor.py.out
Siddharth Agarwal
ancestor: add lazy membership testing to lazyancestors...
r18091 % lazy ancestor set for [], stoprev = 0, inclusive = False
Siddharth Agarwal
test-ancestor: test iteration for lazyancestors...
r23329 membership: []
iteration: []
Siddharth Agarwal
ancestor: add lazy membership testing to lazyancestors...
r18091 % lazy ancestor set for [11, 13], stoprev = 0, inclusive = False
Siddharth Agarwal
test-ancestor: test iteration for lazyancestors...
r23329 membership: [7, 8, 3, 4, 1, 0]
iteration: [3, 7, 8, 1, 4, 0, 2]
Pierre-Yves David
test-ancestor: add a test for `ancestor` with ancestry within the initset...
r22355 % lazy ancestor set for [1, 3], stoprev = 0, inclusive = False
Siddharth Agarwal
test-ancestor: test iteration for lazyancestors...
r23329 membership: [1, 0]
iteration: [0, 1]
Siddharth Agarwal
ancestor: add lazy membership testing to lazyancestors...
r18091 % lazy ancestor set for [11, 13], stoprev = 0, inclusive = True
Siddharth Agarwal
test-ancestor: test iteration for lazyancestors...
r23329 membership: [11, 13, 7, 8, 3, 4, 1, 0]
iteration: [11, 13, 3, 7, 8, 1, 4, 0, 2]
Siddharth Agarwal
ancestor: add lazy membership testing to lazyancestors...
r18091 % lazy ancestor set for [11, 13], stoprev = 6, inclusive = False
Siddharth Agarwal
test-ancestor: test iteration for lazyancestors...
r23329 membership: [7, 8]
iteration: [7, 8]
Siddharth Agarwal
ancestor: add lazy membership testing to lazyancestors...
r18091 % lazy ancestor set for [11, 13], stoprev = 6, inclusive = True
Siddharth Agarwal
test-ancestor: test iteration for lazyancestors...
r23329 membership: [11, 13, 7, 8]
iteration: [11, 13, 7, 8]