[Bug 5900] New: can't commit with experimental.format.compression=none
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Tue May 29 13:51:47 UTC 2018
https://bz.mercurial-scm.org/show_bug.cgi?id=5900
Bug ID: 5900
Summary: can't commit with experimental.format.compression=none
Product: Mercurial
Version: 4.6
Hardware: PC
OS: Other
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: jeffpc at josefsipek.net
CC: mercurial-devel at mercurial-scm.org
I was going to do a quick test with "none" compression algo for revlogs, but my
experiment didn't even manage to get to the first commit:
$ hg --config experimental.format.compression=none init abcdef
$ cd abcdef
$ touch foo
$ hg --config experimental.format.compression=none commit -A -m "initial"
abort: repository requires features unknown to this Mercurial:
exp-compression-none!
(see https://mercurial-scm.org/wiki/MissingRequirement for more information)
$ cat .hg/requires
dotencode
exp-compression-none
fncache
generaldelta
revlogv1
store
Doing the same exact steps but with "zstd", the commit succeeds (the zstd case
seems to be checked by test-repo-compengines.t).
$ hg version -v
Mercurial Distributed SCM (version 4.6+16-5b831053d9b6)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2018 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Enabled extensions:
hgk internal
graphlog internal
purge internal
gpg internal
churn internal
pager internal
shelve internal
histedit internal
rebase internal
patchbomb internal
githelp internal
evolve external 8.0.1.dev
topic external 0.9.1.dev
(The idea behind the experiment was to see how much faster hg would be if it
didn't compress revlogs. I have zfs compress all files transparently already,
so there is double-compression happenning.)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list