comparison tests/test-exchange-A4.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
59 | x 28b51eb45704 (draft): A0 59 | x 28b51eb45704 (draft): A0
60 |/ 60 |/
61 o a9bdc8b26820 (public): O 61 o a9bdc8b26820 (public): O
62 62
63 $ hg debugobsolete 63 $ hg debugobsolete
64 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 64 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
65 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} 65 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
66 $ cd .. 66 $ cd ..
67 $ cd .. 67 $ cd ..
68 68
69 Actual Test for first version (changeset unknown in remote) 69 Actual Test for first version (changeset unknown in remote)
70 ----------------------------------------------------------- 70 -----------------------------------------------------------
72 $ dotest A.4 B -f 72 $ dotest A.4 B -f
73 ## Running testcase A.4 73 ## Running testcase A.4
74 # testing echange of "B" (06055a7959d4) 74 # testing echange of "B" (06055a7959d4)
75 ## initial state 75 ## initial state
76 # obstore: main 76 # obstore: main
77 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} 77 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
78 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 78 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
79 # obstore: pushdest 79 # obstore: pushdest
80 # obstore: pulldest 80 # obstore: pulldest
81 ## pushing "B" from main to pushdest 81 ## pushing "B" from main to pushdest
82 pushing to pushdest 82 pushing to pushdest
83 searching for changes 83 searching for changes
89 OBSEXC: computing markers relevant to 3 nodes 89 OBSEXC: computing markers relevant to 3 nodes
90 OBSEXC: pushing 1 obsolescence markers (65 bytes) 90 OBSEXC: pushing 1 obsolescence markers (65 bytes)
91 OBSEXC: DONE 91 OBSEXC: DONE
92 ## post push state 92 ## post push state
93 # obstore: main 93 # obstore: main
94 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} 94 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
95 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 95 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
96 # obstore: pushdest 96 # obstore: pushdest
97 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 97 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
98 # obstore: pulldest 98 # obstore: pulldest
99 ## pulling "06055a7959d4" from main into pulldest 99 ## pulling "06055a7959d4" from main into pulldest
100 pulling from main 100 pulling from main
101 searching for changes 101 searching for changes
102 adding changesets 102 adding changesets
108 OBSEXC: 1 obsolescence markers added 108 OBSEXC: 1 obsolescence markers added
109 OBSEXC: DONE 109 OBSEXC: DONE
110 (run 'hg update' to get a working copy) 110 (run 'hg update' to get a working copy)
111 ## post pull state 111 ## post pull state
112 # obstore: main 112 # obstore: main
113 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} 113 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
114 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 114 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
115 # obstore: pushdest 115 # obstore: pushdest
116 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 116 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
117 # obstore: pulldest 117 # obstore: pulldest
118 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 {'date': '0 0', 'user': 'test'} 118 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}