Mercurial > evolve
diff tests/test-exchange-D1.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 | 5d063fed9e3d |
line wrap: on
line diff
--- a/tests/test-exchange-D1.t Fri Aug 15 16:39:42 2014 -0700 +++ b/tests/test-exchange-D1.t Fri Aug 15 17:07:55 2014 -0700 @@ -50,8 +50,8 @@ o a9bdc8b26820 (public): O $ hg debugobsolete - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} $ cd .. $ cd .. @@ -63,8 +63,8 @@ # testing echange of "A1" (e5ea8f9c7314) ## initial state # obstore: main - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} # obstore: pushdest # obstore: pulldest ## pushing "A1" from main to pushdest @@ -80,11 +80,11 @@ OBSEXC: DONE ## post push state # obstore: main - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} # obstore: pushdest - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} # obstore: pulldest ## pulling "e5ea8f9c7314" from main into pulldest pulling from main @@ -100,12 +100,12 @@ (run 'hg update' to get a working copy) ## post pull state # obstore: main - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} # obstore: pushdest - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} # obstore: pulldest - 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {'date': '0 0', 'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} - 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'} + 06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 (Thu Jan 01 00:00:00 1970 +0000) {'p1': '28b51eb45704506b5c603decd6bf7ac5e0f6a52f', 'user': 'test'} + 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}