comparison tests/test-exchange-A2.t @ 1065:f355bbc124fc

test: update test to new date formatting in debuobsolete output The date is now a first class citizen with proper formatting.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 15 Aug 2014 17:07:55 -0700
parents f6e0cfca1bf0
children 5717d023da63
comparison
equal deleted inserted replaced
1064:95d84c8b4bcc 1065:f355bbc124fc
53 | o f5bc6836db60 (draft): A 53 | o f5bc6836db60 (draft): A
54 |/ 54 |/
55 o a9bdc8b26820 (public): O 55 o a9bdc8b26820 (public): O
56 56
57 $ hg debugobsolete 57 $ hg debugobsolete
58 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 58 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
59 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 {'date': '0 0', 'user': 'test'} 59 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
60 $ cd .. 60 $ cd ..
61 $ cd .. 61 $ cd ..
62 62
63 63
64 Actual Test 64 Actual Test
67 $ dotest A.2 A 67 $ dotest A.2 A
68 ## Running testcase A.2 68 ## Running testcase A.2
69 # testing echange of "A" (f5bc6836db60) 69 # testing echange of "A" (f5bc6836db60)
70 ## initial state 70 ## initial state
71 # obstore: main 71 # obstore: main
72 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 72 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
73 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 {'date': '0 0', 'user': 'test'} 73 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
74 # obstore: pushdest 74 # obstore: pushdest
75 # obstore: pulldest 75 # obstore: pulldest
76 ## pushing "A" from main to pushdest 76 ## pushing "A" from main to pushdest
77 pushing to pushdest 77 pushing to pushdest
78 searching for changes 78 searching for changes
84 OBSEXC: computing markers relevant to 2 nodes 84 OBSEXC: computing markers relevant to 2 nodes
85 OBSEXC: pushing 1 obsolescence markers (65 bytes) 85 OBSEXC: pushing 1 obsolescence markers (65 bytes)
86 OBSEXC: DONE 86 OBSEXC: DONE
87 ## post push state 87 ## post push state
88 # obstore: main 88 # obstore: main
89 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 89 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
90 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 {'date': '0 0', 'user': 'test'} 90 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
91 # obstore: pushdest 91 # obstore: pushdest
92 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 92 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
93 # obstore: pulldest 93 # obstore: pulldest
94 ## pulling "f5bc6836db60" from main into pulldest 94 ## pulling "f5bc6836db60" from main into pulldest
95 pulling from main 95 pulling from main
96 searching for changes 96 searching for changes
97 adding changesets 97 adding changesets
103 OBSEXC: 1 obsolescence markers added 103 OBSEXC: 1 obsolescence markers added
104 OBSEXC: DONE 104 OBSEXC: DONE
105 (run 'hg update' to get a working copy) 105 (run 'hg update' to get a working copy)
106 ## post pull state 106 ## post pull state
107 # obstore: main 107 # obstore: main
108 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 108 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
109 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 {'date': '0 0', 'user': 'test'} 109 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 35b1839966785d5703a01607229eea932db42f87 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
110 # obstore: pushdest 110 # obstore: pushdest
111 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 111 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
112 # obstore: pulldest 112 # obstore: pulldest
113 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {'date': '0 0', 'user': 'test'} 113 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
114 114
115 115
116 $ cd .. 116 $ cd ..