comparison tests/test-uncommit.t @ 3559:d166b3dc5e8a

tests: do not glob out fixed dates Perhaps these dates historically have not been fixed, but they seem to be now. I got tired of not being able to use "run-tests.py -i".
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 12 Mar 2018 23:26:25 -0700
parents f57be161f34b
children 589649021ea1
comparison
equal deleted inserted replaced
3558:cec6e21b3bcf 3559:d166b3dc5e8a
231 $ hg bookmarks 231 $ hg bookmarks
232 * touncommit-bm 4:e8db4aa611f6 232 * touncommit-bm 4:e8db4aa611f6
233 touncommit-bm-inactive 4:e8db4aa611f6 233 touncommit-bm-inactive 4:e8db4aa611f6
234 unrelated 2:f63b90038565 234 unrelated 2:f63b90038565
235 $ hg debugobsolete 235 $ hg debugobsolete
236 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (*) {'ef1': '*', 'user': 'test'} (glob) 236 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
237 237
238 Test phase is preserved, no local changes 238 Test phase is preserved, no local changes
239 239
240 $ hg up -C 3 --hidden 240 $ hg up -C 3 --hidden
241 updating to a hidden changeset 5eb72dbe0cb4 241 updating to a hidden changeset 5eb72dbe0cb4
279 | o 1:f15c744d48e8@default(draft) addmore 279 | o 1:f15c744d48e8@default(draft) addmore
280 | 280 |
281 o 0:07f494440405@default(draft) adda 281 o 0:07f494440405@default(draft) adda
282 282
283 $ hg debugobsolete 283 $ hg debugobsolete
284 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (*) {'ef1': '*', 'user': 'test'} (glob) 284 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
285 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 a1d4c1ad76cc7eb5e8a36ef52396da334b6d59c5 0 (*) {'ef1': '*', 'user': 'test'} (glob) 285 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 a1d4c1ad76cc7eb5e8a36ef52396da334b6d59c5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
286 286
287 Test --all 287 Test --all
288 288
289 $ hg up -C 3 --hidden 289 $ hg up -C 3 --hidden
290 updating to a hidden changeset 5eb72dbe0cb4 290 updating to a hidden changeset 5eb72dbe0cb4
315 R n 315 R n
316 $ hg st --copies --change . 316 $ hg st --copies --change .
317 A e 317 A e
318 318
319 $ hg debugobsolete 319 $ hg debugobsolete
320 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (*) {'ef1': '*', 'user': 'test'} (glob) 320 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
321 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 a1d4c1ad76cc7eb5e8a36ef52396da334b6d59c5 0 (*) {'ef1': '*', 'user': 'test'} (glob) 321 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 a1d4c1ad76cc7eb5e8a36ef52396da334b6d59c5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
322 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 c4cbebac3751269bdf12d1466deabcc78521d272 0 (*) {'ef1': '*', 'user': 'test'} (glob) 322 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 c4cbebac3751269bdf12d1466deabcc78521d272 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
323 323
324 Display a warning if nothing left 324 Display a warning if nothing left
325 325
326 $ hg uncommit e 326 $ hg uncommit e
327 new changeset is empty 327 new changeset is empty
328 (use 'hg prune .' to remove it) 328 (use 'hg prune .' to remove it)
329 $ hg debugobsolete 329 $ hg debugobsolete
330 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (*) {'ef1': '*', 'user': 'test'} (glob) 330 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 e8db4aa611f6d5706374288e6898e498f5c44098 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
331 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 a1d4c1ad76cc7eb5e8a36ef52396da334b6d59c5 0 (*) {'ef1': '*', 'user': 'test'} (glob) 331 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 a1d4c1ad76cc7eb5e8a36ef52396da334b6d59c5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
332 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 c4cbebac3751269bdf12d1466deabcc78521d272 0 (*) {'ef1': '*', 'user': 'test'} (glob) 332 5eb72dbe0cb409d094e3b4ae8eaa30071c1b8730 c4cbebac3751269bdf12d1466deabcc78521d272 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
333 c4cbebac3751269bdf12d1466deabcc78521d272 4f1c269eab68720f54e88ce3c1dc02b2858b6b89 0 (*) {'ef1': '*', 'user': 'test'} (glob) 333 c4cbebac3751269bdf12d1466deabcc78521d272 4f1c269eab68720f54e88ce3c1dc02b2858b6b89 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'user': 'test'}
334 334
335 Test instability warning 335 Test instability warning
336 336
337 $ hg ci -m touncommit 337 $ hg ci -m touncommit
338 $ echo unrelated > unrelated 338 $ echo unrelated > unrelated