Mercurial > evolve
comparison tests/test-exchange-D1.t @ 905:b177fde040dd
exchange: use fixed order for obstore content
The obsstore content seems unstable from one version of python to another (we
most certainly use some dict) we fix the order once and for all.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 22 Apr 2014 17:00:24 -0700 |
parents | 001f8508910a |
children | 010c7e4aa820 |
comparison
equal
deleted
inserted
replaced
904:c204e2205876 | 905:b177fde040dd |
---|---|
61 $ dotest D.1 A1 | 61 $ dotest D.1 A1 |
62 ## Running testcase D.1 | 62 ## Running testcase D.1 |
63 # testing echange of "A1" (e5ea8f9c7314) | 63 # testing echange of "A1" (e5ea8f9c7314) |
64 ## initial state | 64 ## initial state |
65 # obstore: main | 65 # obstore: main |
66 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | |
66 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} | 67 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
67 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | |
68 # obstore: pushdest | 68 # obstore: pushdest |
69 # obstore: pulldest | 69 # obstore: pulldest |
70 ## pushing "A1" from main to pushdest | 70 ## pushing "A1" from main to pushdest |
71 pushing to pushdest | 71 pushing to pushdest |
72 searching for changes | 72 searching for changes |
79 OBSEXC: encoding 2 markers | 79 OBSEXC: encoding 2 markers |
80 OBSEXC: sending 1 pushkey payload (188 bytes) | 80 OBSEXC: sending 1 pushkey payload (188 bytes) |
81 OBSEXC: DONE | 81 OBSEXC: DONE |
82 ## post push state | 82 ## post push state |
83 # obstore: main | 83 # obstore: main |
84 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | |
84 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} | 85 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
86 # obstore: pushdest | |
85 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | 87 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
86 # obstore: pushdest | |
87 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} | 88 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
88 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | |
89 # obstore: pulldest | 89 # obstore: pulldest |
90 ## pulling "e5ea8f9c7314" from main into pulldest | 90 ## pulling "e5ea8f9c7314" from main into pulldest |
91 pulling from main | 91 pulling from main |
92 searching for changes | 92 searching for changes |
93 adding changesets | 93 adding changesets |
99 OBSEXC: 2 markers added | 99 OBSEXC: 2 markers added |
100 OBSEXC: DONE | 100 OBSEXC: DONE |
101 (run 'hg update' to get a working copy) | 101 (run 'hg update' to get a working copy) |
102 ## post pull state | 102 ## post pull state |
103 # obstore: main | 103 # obstore: main |
104 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | |
104 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} | 105 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
106 # obstore: pushdest | |
105 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | 107 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
106 # obstore: pushdest | |
107 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} | 108 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
109 # obstore: pulldest | |
108 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | 110 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} |
109 # obstore: pulldest | |
110 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} | 111 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '', 'user': 'test'} |
111 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} | |
112 | 112 |