equal
deleted
inserted
replaced
298 @propertycache |
298 @propertycache |
299 def hiddenrevs(self): |
299 def hiddenrevs(self): |
300 """hiddenrevs: revs that should be hidden by command and tools |
300 """hiddenrevs: revs that should be hidden by command and tools |
301 |
301 |
302 This set is carried on the repo to ease initialisation and lazy |
302 This set is carried on the repo to ease initialisation and lazy |
303 loading it'll probably move back to changelog for efficiency and |
303 loading; it'll probably move back to changelog for efficiency and |
304 consistency reason |
304 consistency reason |
305 |
305 |
306 Note that the hiddenrevs will needs invalidations when |
306 Note that the hiddenrevs will needs invalidations when |
307 - a new changesets is added (possible unstable above extinct) |
307 - a new changesets is added (possible unstable above extinct) |
308 - a new obsolete marker is added (possible new extinct changeset) |
308 - a new obsolete marker is added (possible new extinct changeset) |
2537 # if revlog format changes, client will have to check version |
2537 # if revlog format changes, client will have to check version |
2538 # and format flags on "stream" capability, and use |
2538 # and format flags on "stream" capability, and use |
2539 # uncompressed only if compatible. |
2539 # uncompressed only if compatible. |
2540 |
2540 |
2541 if not stream: |
2541 if not stream: |
2542 # if the server explicitly prefer to stream (for fast LANs) |
2542 # if the server explicitly prefers to stream (for fast LANs) |
2543 stream = remote.capable('stream-preferred') |
2543 stream = remote.capable('stream-preferred') |
2544 |
2544 |
2545 if stream and not heads: |
2545 if stream and not heads: |
2546 # 'stream' means remote revlog format is revlogv1 only |
2546 # 'stream' means remote revlog format is revlogv1 only |
2547 if remote.capable('stream'): |
2547 if remote.capable('stream'): |