Solving long paths by hashing
Adrian Buehlmann
adrian at cadifra.com
Sun Jun 29 05:15:17 CDT 2008
On 29.06.2008 11:43, Adrian Buehlmann wrote:
> Questions left:
> Does streamclone really need to walk the store like that?
> Would it be possible to eliminate this use of util.decodefilename?
streamclone.py, line 42 contains:
> # stream file format is simple.
> #
> # server writes out line that says how many files, how many total
> # bytes. separator is ascii space, byte counts are strings.
> #
> # then for each file:
> #
> # server writes out line that says file name, how many bytes in
who needs the unencoded filename and for what?
> # file. separator is ascii nul, byte count is string.
> #
> # server writes out raw file data.
>
> def stream_out(repo, fileobj, untrusted=False):
> '''stream out all metadata files in repository.
> writes to file-like object, must support write() and optional flush().'''
More information about the Mercurial-devel
mailing list