Mercurial > evolve
annotate tests/test-evolve-content-divergent-user-independent-resolution.t @ 5926:aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Before this patch, we choose the minimum revision as p1 while merging the
two divergent csets which had a drawback that if independent user resolve
the same divergence, their final resolved cset would have different hashes
(because of 'divergence_source_local' and 'divergence_source_other' extras).
Now, we decide the p1 on the basis of which of the two divergent cset
was rewritten more recently. This new logic removes the "different hash"
problem.
To save us from big output changes in the tests due to this change, I also
added the second factor i.e revision_number while sorting the csets wrt dates
(as date is same for all the csets in tests) to fallback to the old way of
picking the revision i.e choosing the minimum rev number.
And to demonstrate that now divergence resolution is independent of which
side user run the `hg evolve --content-div` resolved cset id won't change,
I have added a separate test file.
Flag --config devel.default-date='...' is being used here to record a
custom date in the obsmarkers.
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 03 Mar 2021 12:40:59 +0530 |
parents | |
children | 5e14782908e4 |
rev | line source |
---|---|
5926
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
1 ===================================== |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
2 Testing content-divergence resolution |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
3 ===================================== |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
4 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
5 Independent rewrites of same changeset can lead to content-divergence. In most |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
6 common cases, it can occur when multiple users rewrite the same changeset |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
7 independently and push it. |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
8 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
9 This test aims to check that the resolution of content-divergent changesets is |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
10 independent of the user resolving the divergence. In other words, the two users |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
11 resolving the same divergence should end up with the same result. |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
12 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
13 Setup |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
14 ----- |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
15 $ . $TESTDIR/testlib/content-divergence-util.sh |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
16 $ setuprepos user-independent-resolution |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
17 creating test repo for test case user-independent-resolution |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
18 - upstream |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
19 - local |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
20 - other |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
21 cd into `local` and proceed with env setup |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
22 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
23 initial |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
24 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
25 $ cd upstream |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
26 $ mkcommit A0 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
27 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
28 $ cd ../local |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
29 $ hg pull -uq |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
30 $ hg amend -m "A1" --config devel.default-date='172800 19800' |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
31 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
32 $ cd ../other |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
33 $ hg pull -uq |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
34 $ hg amend -d '2 0' --config devel.default-date='86400 7200' |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
35 $ hg push -q |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
36 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
37 $ cd ../local |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
38 $ hg push -q |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
39 2 new content-divergent changesets |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
40 $ hg pull -q |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
41 2 new content-divergent changesets |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
42 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
43 'local' amended desc, 'other' amended date |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
44 ------------------------------------------ |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
45 $ hg log -G |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
46 * 3:1a0af03d20ad (draft): A0 [content-divergent] |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
47 | |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
48 | @ 2:0d8c87cec5fc (draft): A1 [content-divergent] |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
49 |/ |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
50 o 0:a9bdc8b26820 (public): O |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
51 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
52 $ hg evolve --content-div |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
53 merge:[2] A1 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
54 with: [3] A0 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
55 base: [1] A0 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
56 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
57 working directory is now at 276e2aee8fe1 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
58 $ hg log -G |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
59 @ 4:276e2aee8fe1 (draft): A1 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
60 | |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
61 o 0:a9bdc8b26820 (public): O |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
62 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
63 $ hg evolve -l |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
64 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
65 'local' amended date, 'other' amended desc |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
66 ------------------------------------------ |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
67 $ cd ../other |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
68 $ hg pull -q |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
69 2 new content-divergent changesets |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
70 $ hg log -G |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
71 * 3:0d8c87cec5fc (draft): A1 [content-divergent] |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
72 | |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
73 | @ 2:1a0af03d20ad (draft): A0 [content-divergent] |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
74 |/ |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
75 o 0:a9bdc8b26820 (public): O |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
76 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
77 $ hg evolve --content-div |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
78 merge:[3] A1 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
79 with: [2] A0 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
80 base: [1] A0 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
81 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
82 working directory is now at 276e2aee8fe1 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
83 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
84 $ hg log -G |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
85 @ 4:276e2aee8fe1 (draft): A1 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
86 | |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
87 o 0:a9bdc8b26820 (public): O |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
88 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
89 $ hg evolve -l |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
90 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
91 both users can push/pull without any issue |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
92 ------------------------------------------ |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
93 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
94 $ hg push |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
95 pushing to $TESTTMP/user-independent-resolution/upstream |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
96 searching for changes |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
97 adding changesets |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
98 adding manifests |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
99 adding file changes |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
100 added 1 changesets with 0 changes to 1 files (+1 heads) |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
101 2 new obsolescence markers |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
102 obsoleted 2 changesets |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
103 $ hg pull ../local |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
104 pulling from ../local |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
105 searching for changes |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
106 no changes found |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
107 $ hg debugobsolete -r tip |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
108 0d8c87cec5fc1540b7c0324332375d530856fb56 276e2aee8fe1d3aae5e21dfee47be818fba8d7fc 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '32', 'operation': 'evolve', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
109 1a0af03d20ad8b4e3a99d30620c8734efe076900 276e2aee8fe1d3aae5e21dfee47be818fba8d7fc 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'evolve', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
110 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0d8c87cec5fc1540b7c0324332375d530856fb56 0 (Fri Jan 02 18:30:00 1970 -0530) {'ef1': '1', 'operation': 'amend', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
111 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 1a0af03d20ad8b4e3a99d30620c8734efe076900 0 (Thu Jan 01 22:00:00 1970 -0200) {'ef1': '32', 'operation': 'amend', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
112 |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
113 $ cd ../local |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
114 $ hg push |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
115 pushing to $TESTTMP/user-independent-resolution/upstream |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
116 searching for changes |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
117 no changes found |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
118 [1] |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
119 $ hg pull ../other |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
120 pulling from ../other |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
121 searching for changes |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
122 no changes found |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
123 $ hg debugobsolete -r tip |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
124 0d8c87cec5fc1540b7c0324332375d530856fb56 276e2aee8fe1d3aae5e21dfee47be818fba8d7fc 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '32', 'operation': 'evolve', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
125 1a0af03d20ad8b4e3a99d30620c8734efe076900 276e2aee8fe1d3aae5e21dfee47be818fba8d7fc 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'evolve', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
126 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0d8c87cec5fc1540b7c0324332375d530856fb56 0 (Fri Jan 02 18:30:00 1970 -0530) {'ef1': '1', 'operation': 'amend', 'user': 'test'} |
aca07ac01167
divergence-resolution: use last evolution date to choose p1 when merging
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
127 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 1a0af03d20ad8b4e3a99d30620c8734efe076900 0 (Thu Jan 01 22:00:00 1970 -0200) {'ef1': '32', 'operation': 'amend', 'user': 'test'} |