Mercurial > hg
diff tests/test-clone.t @ 41303:c953c2a94d68 stable
revlog: fix resolution of revlog version 0
This partially backs out cecf3f8bccd3, "revlog: always process opener options."
My understanding is that if there's no "revlog1" nor "revlog2" in .hg/requires,
the repository should stick to the v0 format. The reasoning is briefly
described in 31a5973fcf96, "revlog: get rid of defversion."
Maybe we can drop support for missing opener options, but I didn't do that
in this patch.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 21 Jan 2019 22:14:29 +0900 |
parents | 47e3f554df35 |
children | 6462bbb91b53 |
line wrap: on
line diff
--- a/tests/test-clone.t Sun Jan 20 11:57:36 2019 +0900 +++ b/tests/test-clone.t Mon Jan 21 22:14:29 2019 +0900 @@ -717,6 +717,9 @@ $ hg -R src commit -m '#0' $ hg -R src log -q 0:e1bab28bca43 + $ hg -R src debugrevlog -c | egrep 'format|flags' + format : 0 + flags : (none) $ hg clone -U -q src dst $ hg -R dst log -q 0:e1bab28bca43