[Bug 6951] New: remotefilelog without history
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Mon Dec 23 22:51:48 UTC 2024
https://bz.mercurial-scm.org/show_bug.cgi?id=6951
Bug ID: 6951
Summary: remotefilelog without history
Product: Mercurial
Version: 6.8.1
Hardware: PC
OS: NetBSD
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: mercurial-bugzilla at campbell.mumble.net
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
With remotefilelog enabled (and
https://bz.mercurial-scm.org/show_bug.cgi?id=6936 and
https://bz.mercurial-scm.org/show_bug.cgi?id=6937 worked around by setting
remotefilelog.getfilestype=threaded, remotefilelog.excludepattern=.hgtags), a
shallow clone of (a repository more or less equivalent to)
https://anonhg.NetBSD.org/src weighs in at about 300 megabytes.
If I use a narrow clone limited to a few directories (bin/sh, bin/test,
bin/kill, usr.bin/printf, lib/libedit, lib/libterminfo), or a narrow shallow
clone, it's about the same, plus or minus a few megabytes.
In contrast, a git sparse-checkout of the same subdirectories, in a shallow
treeless (--filter=tree:0) clone of a corresponding repository conversion,
weighs in at about 30 MB.
Are there other options for slimming down the local storage needed by shallow
and/or narrow clones? If not, what hard technical problems -- versus simple
matters of programming (and testing) -- lie in the way?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list