D2883: revlogstore: create and implement an interface for repo files storage

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Tue Mar 20 22:30:42 EDT 2018


mharbison72 added a comment.


  It's probably too early to worry about for the experimenting that you're doing, but at some point, maybe this should also allow yielding the full text in chunks?  As it stands now, there are a couple places where LFS has to read in the full file, and one of those places is the filelog/revlog.  IIRC, largefiles manages to avoid that completely.
  
  This dated paged is the only thing that I could find talking about the issues with that approach:
  
  https://www.mercurial-scm.org/wiki/HandlingLargeFiles
  
  I'm not sure what this should look like either, but it seemed worthwhile to point out that page, with the accompanying discussion of revlog limitations.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2883

To: indygreg, #hg-reviewers
Cc: mharbison72, mercurial-devel


More information about the Mercurial-devel mailing list