comparison tests/test-evolve-content-divergent-meta.t @ 4636:c0e9a3c01c44

evolve: consider using three way merge to get the user for div resolution This patch adds the logic to merge the users from two divergent csets considering the base (i.e three way merge). The case when all the three are different, we concatenate the two authors of divergent csets.
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Sun, 05 May 2019 18:24:59 +0530
parents ea9ae2d2095a
children 3ef4980353af 18fe83bf7b14
comparison
equal deleted inserted replaced
4635:ea9ae2d2095a 4636:c0e9a3c01c44
149 $ hg evolve --content-divergent 149 $ hg evolve --content-divergent
150 merge:[4] added c 150 merge:[4] added c
151 with: [5] updated c 151 with: [5] updated c
152 base: [2] added c 152 base: [2] added c
153 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 153 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
154 working directory is now at 85c4e0b92028 154 working directory is now at 202a770d8c1f
155 155
156 $ hg log -r tip | grep "^user" 156 $ hg log -r tip | grep "^user"
157 user: baruser 157 user: baruser, foouser
158 158
159 $ cd .. 159 $ cd ..