This is an archive of the discontinued Mercurial Phabricator instance.

storageutil: new function for extracting metadata-less content from text
ClosedPublic

Authored by indygreg on Sep 26 2018, 2:29 PM.

Details

Summary

Other storage backends will want to do this.

I'm not concerned about Python function call overhead because I
expect self.revision() to dwarf the function call overhead time,
since self.revision() requires multiple function calls and may
involve decompression in the common case.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.