Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGb35a096b9bff: remotefilelog: add some docstring
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
| indygreg |
| hg-reviewers |
| Lint Skipped |
| Unit Tests Skipped |
| Path | Packages | |||
|---|---|---|---|---|
| M | hgext/remotefilelog/__init__.py (11 lines) |
| Commit | Parents | Author | Summary | Date |
|---|---|---|---|---|
| Augie Fackler | Oct 17 2018, 9:12 AM |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | pulkit | ||
| Closed | pulkit | ||
| Closed | pulkit | ||
| Closed | pulkit | ||
| Closed | pulkit | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 | ||
| Closed | durin42 |
| # __init__.py - remotefilelog extension | # __init__.py - remotefilelog extension | ||||
| # | # | ||||
| # Copyright 2013 Facebook, Inc. | # Copyright 2013 Facebook, Inc. | ||||
| # | # | ||||
| # This software may be used and distributed according to the terms of the | # This software may be used and distributed according to the terms of the | ||||
| # GNU General Public License version 2 or any later version. | # GNU General Public License version 2 or any later version. | ||||
| """remotefilelog causes Mercurial to lazilly fetch file contents (EXPERIMENTAL) | """remotefilelog causes Mercurial to lazilly fetch file contents (EXPERIMENTAL) | ||||
| This extension is HIGHLY EXPERIMENTAL. There are NO BACKWARDS COMPATIBILITY | |||||
| GUARANTEES. This means that repositories created with this extension may | |||||
| only be usable with the exact version of this extension/Mercurial that was | |||||
| used. The extension attempts to enforce this in order to prevent repository | |||||
| corruption. | |||||
| remotefilelog works by fetching file contents lazily and storing them | |||||
| in a cache on the client rather than in revlogs. This allows enormous | |||||
| histories to be transferred only partially, making them easier to | |||||
| operate on. | |||||
| Configs: | Configs: | ||||
| ``packs.maxchainlen`` specifies the maximum delta chain length in pack files | ``packs.maxchainlen`` specifies the maximum delta chain length in pack files | ||||
| ``packs.maxpacksize`` specifies the maximum pack file size | ``packs.maxpacksize`` specifies the maximum pack file size | ||||
| ``packs.maxpackfilecount`` specifies the maximum number of packs in the | ``packs.maxpackfilecount`` specifies the maximum number of packs in the | ||||
| shared cache (trees only for now) | shared cache (trees only for now) | ||||
| ``remotefilelog.backgroundprefetch`` runs prefetch in background when True | ``remotefilelog.backgroundprefetch`` runs prefetch in background when True | ||||
| ``remotefilelog.bgprefetchrevs`` specifies revisions to fetch on commit and | ``remotefilelog.bgprefetchrevs`` specifies revisions to fetch on commit and | ||||