Mercurial > evolve
comparison tests/test-exchange-obsmarkers-case-D2.t @ 3592:7a5c3175015e mercurial-4.2
test-compat: merge mercurial-4.3 into mercurial-4.2
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 21 Mar 2018 16:32:54 +0100 |
parents | 98941c28f3e2 2280461343e5 |
children |
comparison
equal
deleted
inserted
replaced
3591:98941c28f3e2 | 3592:7a5c3175015e |
---|---|
52 $ mkcommit A0 | 52 $ mkcommit A0 |
53 $ hg up -q 0 | 53 $ hg up -q 0 |
54 $ mkcommit A1 | 54 $ mkcommit A1 |
55 created new head | 55 created new head |
56 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` | 56 $ hg debugobsolete `getid 'desc(A0)'` `getid 'desc(A1)'` |
57 obsoleted 1 changesets | |
58 $ hg prune --date '0 0' . | 57 $ hg prune --date '0 0' . |
59 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | 58 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
60 working directory now at a9bdc8b26820 | 59 working directory now at a9bdc8b26820 |
61 1 changesets pruned | 60 1 changesets pruned |
62 $ hg strip --hidden -q 'desc(A1)' --config devel.strip-obsmarkers=no | 61 $ hg strip --hidden -q 'desc(A1)' --config devel.strip-obsmarkers=no |
66 @ a9bdc8b26820 (public): O | 65 @ a9bdc8b26820 (public): O |
67 | 66 |
68 $ inspect_obsmarkers | 67 $ inspect_obsmarkers |
69 obsstore content | 68 obsstore content |
70 ================ | 69 ================ |
71 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 70 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
72 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 71 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
73 obshashtree | 72 obshashtree |
74 =========== | 73 =========== |
75 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 554c0b12f7d9fff20cb904c26e12eee337e3309c | 74 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 c14d90ad60c950e75009151899c742ce8cc9b2e6 |
76 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 5c81c58ce0a8ad61dd9cf4c6949846b5990af30d | 75 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e08003a7b0ea2ec7ec7e07708d34cf3819aa8009 |
77 obshashrange | 76 obshashrange |
78 ============ | 77 ============ |
79 rev node index size depth obshash | 78 rev node index size depth obshash |
80 0 a9bdc8b26820 0 1 1 554c0b12f7d9 | 79 0 a9bdc8b26820 0 1 1 c14d90ad60c9 |
81 $ cd .. | 80 $ cd .. |
82 $ cd .. | 81 $ cd .. |
83 | 82 |
84 Actual Test | 83 Actual Test |
85 ----------- | 84 ----------- |
86 | 85 |
87 $ dotest D.2 | 86 $ dotest D.2 |
88 ## Running testcase D.2 | 87 ## Running testcase D.2 |
89 ## initial state | 88 ## initial state |
90 # obstore: main | 89 # obstore: main |
91 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 90 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
92 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 91 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
93 # obstore: pushdest | 92 # obstore: pushdest |
94 # obstore: pulldest | 93 # obstore: pulldest |
95 ## pushing from main to pushdest | 94 ## pushing from main to pushdest |
96 pushing to pushdest | 95 pushing to pushdest |
97 searching for changes | 96 searching for changes |
98 no changes found | 97 no changes found |
99 remote: 2 new obsolescence markers | 98 remote: 2 new obsolescence markers |
100 ## post push state | 99 ## post push state |
101 # obstore: main | 100 # obstore: main |
102 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 101 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
103 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 102 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
104 # obstore: pushdest | 103 # obstore: pushdest |
105 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 104 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
106 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 105 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
107 # obstore: pulldest | 106 # obstore: pulldest |
108 ## pulling from main into pulldest | 107 ## pulling from main into pulldest |
109 pulling from main | 108 pulling from main |
110 searching for changes | 109 searching for changes |
111 no changes found | 110 no changes found |
112 2 new obsolescence markers | 111 2 new obsolescence markers |
113 ## post pull state | 112 ## post pull state |
114 # obstore: main | 113 # obstore: main |
115 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 114 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
116 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 115 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
117 # obstore: pushdest | 116 # obstore: pushdest |
118 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 117 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
119 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 118 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
120 # obstore: pulldest | 119 # obstore: pulldest |
121 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 120 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob) |
122 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} | 121 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (*) {'ef1': '*', 'user': 'test'} (glob) |
123 | 122 |