D4750: filelog: stop proxying rawsize() (API)
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Oct 31 15:19:37 EDT 2018
indygreg added a subscriber: durin42.
indygreg added a comment.
In https://phab.mercurial-scm.org/D4750#73744, @mharbison72 wrote:
> Apparently thg uses this to avoid loading the data into memory just to figure out the length like fctx.rawsize(). Any suggestions?
>
> https://groups.google.com/d/msg/thg-dev/6ekYID7ho_o/fbdd6rVDAwAJ
Just found this comment when going through mail backlog.
Do we want to do anything about this before the 4.8 release? We could restore the method/proxy easily enough. But I would prefer not to. I'd really like to know why thg wants to access the size of a revision without accessing the revision text...
CC @durin42
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4750
To: indygreg, #hg-reviewers
Cc: durin42, mharbison72, mercurial-devel
More information about the Mercurial-devel
mailing list