Mercurial > evolve
comparison tests/test-exchange-A5.t @ 1060:f6e0cfca1bf0 stable
test: work around a bug in debugobsolete
The defautl date was wrong all along. So we use a fixed date for all tests.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 15 Aug 2014 16:54:32 -0700 |
parents | 640f3280559e |
children | f355bbc124fc |
comparison
equal
deleted
inserted
replaced
1057:168dfc839eca | 1060:f6e0cfca1bf0 |
---|---|
64 | x 28b51eb45704 (draft): A0 | 64 | x 28b51eb45704 (draft): A0 |
65 |/ | 65 |/ |
66 o a9bdc8b26820 (public): O | 66 o a9bdc8b26820 (public): O |
67 | 67 |
68 $ hg debugobsolete | 68 $ hg debugobsolete |
69 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '', 'user': 'test'} | 69 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} |
70 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 70 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |
71 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '', 'user': 'test'} | 71 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '0 0', 'user': 'test'} |
72 $ cd .. | 72 $ cd .. |
73 $ cd .. | 73 $ cd .. |
74 | 74 |
75 Actual Test | 75 Actual Test |
76 ----------- | 76 ----------- |
78 $ dotest A.5 B1 | 78 $ dotest A.5 B1 |
79 ## Running testcase A.5 | 79 ## Running testcase A.5 |
80 # testing echange of "B1" (f6298a8ac3a4) | 80 # testing echange of "B1" (f6298a8ac3a4) |
81 ## initial state | 81 ## initial state |
82 # obstore: main | 82 # obstore: main |
83 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '', 'user': 'test'} | 83 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '0 0', 'user': 'test'} |
84 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 84 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |
85 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '', 'user': 'test'} | 85 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} |
86 # obstore: pushdest | 86 # obstore: pushdest |
87 # obstore: pulldest | 87 # obstore: pulldest |
88 ## pushing "B1" from main to pushdest | 88 ## pushing "B1" from main to pushdest |
89 pushing to pushdest | 89 pushing to pushdest |
90 searching for changes | 90 searching for changes |
92 adding manifests | 92 adding manifests |
93 adding file changes | 93 adding file changes |
94 added 1 changesets with 1 changes to 1 files | 94 added 1 changesets with 1 changes to 1 files |
95 OBSEXC: computing relevant nodes | 95 OBSEXC: computing relevant nodes |
96 OBSEXC: computing markers relevant to 2 nodes | 96 OBSEXC: computing markers relevant to 2 nodes |
97 OBSEXC: pushing 1 obsolescence markers (62 bytes) | 97 OBSEXC: pushing 1 obsolescence markers (65 bytes) |
98 OBSEXC: DONE | 98 OBSEXC: DONE |
99 ## post push state | 99 ## post push state |
100 # obstore: main | 100 # obstore: main |
101 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '', 'user': 'test'} | 101 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '0 0', 'user': 'test'} |
102 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 102 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |
103 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '', 'user': 'test'} | 103 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} |
104 # obstore: pushdest | 104 # obstore: pushdest |
105 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 105 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |
106 # obstore: pulldest | 106 # obstore: pulldest |
107 ## pulling "f6298a8ac3a4" from main into pulldest | 107 ## pulling "f6298a8ac3a4" from main into pulldest |
108 pulling from main | 108 pulling from main |
109 searching for changes | 109 searching for changes |
110 adding changesets | 110 adding changesets |
111 adding manifests | 111 adding manifests |
112 adding file changes | 112 adding file changes |
113 added 1 changesets with 1 changes to 1 files | 113 added 1 changesets with 1 changes to 1 files |
114 OBSEXC: pull obsolescence markers | 114 OBSEXC: pull obsolescence markers |
115 OBSEXC: merging obsolescence markers (62 bytes) | 115 OBSEXC: merging obsolescence markers (65 bytes) |
116 OBSEXC: 1 obsolescence markers added | 116 OBSEXC: 1 obsolescence markers added |
117 OBSEXC: DONE | 117 OBSEXC: DONE |
118 (run 'hg update' to get a working copy) | 118 (run 'hg update' to get a working copy) |
119 ## post pull state | 119 ## post pull state |
120 # obstore: main | 120 # obstore: main |
121 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '', 'user': 'test'} | 121 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 8c0a98c8372212c6efde4bfdcef006f27ff759d3 0 {'date': '0 0', 'user': 'test'} |
122 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 122 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |
123 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '', 'user': 'test'} | 123 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} |
124 # obstore: pushdest | 124 # obstore: pushdest |
125 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 125 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |
126 # obstore: pulldest | 126 # obstore: pulldest |
127 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '', 'user': 'test'} | 127 6e72f0a95b5e01a7504743aa941f69cb1fbef8b0 f6298a8ac3a4b78bbeae5f1d3dc5bc3c3812f0f3 0 {'date': '0 0', 'user': 'test'} |