Mercurial > hg-stable
comparison tests/test-clone.t @ 41302: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 |
comparison
equal
deleted
inserted
replaced
41301:13c23396c7fe | 41302:c953c2a94d68 |
---|---|
715 $ echo foo > src/foo | 715 $ echo foo > src/foo |
716 $ hg -R src add src/foo | 716 $ hg -R src add src/foo |
717 $ hg -R src commit -m '#0' | 717 $ hg -R src commit -m '#0' |
718 $ hg -R src log -q | 718 $ hg -R src log -q |
719 0:e1bab28bca43 | 719 0:e1bab28bca43 |
720 $ hg -R src debugrevlog -c | egrep 'format|flags' | |
721 format : 0 | |
722 flags : (none) | |
720 $ hg clone -U -q src dst | 723 $ hg clone -U -q src dst |
721 $ hg -R dst log -q | 724 $ hg -R dst log -q |
722 0:e1bab28bca43 | 725 0:e1bab28bca43 |
723 | 726 |
724 Create repositories to test auto sharing functionality | 727 Create repositories to test auto sharing functionality |