comparison tests/test-convert-svn-branches.t @ 39111:46da52f4b820

commit: try hard to reuse p1 manifest if nothing changed This is all for commit reproducibility on "hg convert". With this change, p1 manifest is reused if ctx.files() *to be committed* is empty, and if new manifest entry is identical to p1. This is important property for "hg convert" since memctx.files() built from a convert source may be either a) more narrowed thanks to a committed ctx.files() which provides more accurate status, or b) containing redundant files because of sloppy filtering on e.g. octopus merge.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 07 Jul 2018 22:40:39 +0900
parents 584044e5ad57
children
comparison
equal deleted inserted replaced
39110:f0c2653ca706 39111:46da52f4b820
83 83
84 84
85 $ hg branches 85 $ hg branches
86 newbranch 11:a6d7cc050ad1 86 newbranch 11:a6d7cc050ad1
87 default 10:6e2b33404495 87 default 10:6e2b33404495
88 old 9:93c4b0f99529 88 old 9:1b494af68c0b
89 old2 8:b52884d7bead (inactive) 89 old2 8:5be40b8dcbf6 (inactive)
90 $ hg tags -q 90 $ hg tags -q
91 tip 91 tip
92 $ cd .. 92 $ cd ..
93 93
94 Test hg failing to call itself 94 Test hg failing to call itself