mercurial/localrepo.py
changeset 17427 57c6c24b9bc4
parent 17424 e7cfe3587ea4
child 17434 038f4f0439d7
equal deleted inserted replaced
17426:9724f8f8850b 17427:57c6c24b9bc4
   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'):