Mercurial > public > mercurial-scm > hg-stable
comparison tests/test-rhg.t @ 48599:abbecb5cd6f3
blackbox: change year in logs to ISO 8601 format
AFAIK, year/month/day is not a format than anyone uses. It seems more
sensible to me to use ISO 8601, as that's standard and unambiguously
year-month-day.
Compatibility-wise, I think it's acceptable to change the default
format. It's most for human consumption. It's plausible that a few
tools parse this format, but it has already changed in the past (for
instance to add the current revision).
Differential Revision: https://phab.mercurial-scm.org/D12006
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 17 Jan 2022 21:20:46 -0500 |
parents | 9cf5ac8c7109 |
children | 7ee07e1a25c0 |
comparison
equal
deleted
inserted
replaced
48598:011f5218ff2d | 48599:abbecb5cd6f3 |
---|---|
365 $ echo "blackbox =" >> $HGRCPATH | 365 $ echo "blackbox =" >> $HGRCPATH |
366 $ echo "[blackbox]" >> $HGRCPATH | 366 $ echo "[blackbox]" >> $HGRCPATH |
367 $ echo "maxsize = 1" >> $HGRCPATH | 367 $ echo "maxsize = 1" >> $HGRCPATH |
368 $ $NO_FALLBACK rhg files > /dev/null | 368 $ $NO_FALLBACK rhg files > /dev/null |
369 $ cat .hg/blackbox.log | 369 $ cat .hg/blackbox.log |
370 ????/??/?? ??:??:??.??? * @d3873e73d99ef67873dac33fbcc66268d5d2b6f4 (*)> (rust) files exited 0 after 0.??? seconds (glob) | 370 ????-??-?? ??:??:??.??? * @d3873e73d99ef67873dac33fbcc66268d5d2b6f4 (*)> (rust) files exited 0 after 0.??? seconds (glob) |
371 $ cat .hg/blackbox.log.1 | 371 $ cat .hg/blackbox.log.1 |
372 ????/??/?? ??:??:??.??? * @d3873e73d99ef67873dac33fbcc66268d5d2b6f4 (*)> (rust) files (glob) | 372 ????-??-?? ??:??:??.??? * @d3873e73d99ef67873dac33fbcc66268d5d2b6f4 (*)> (rust) files (glob) |
373 | 373 |
374 Subrepos are not supported | 374 Subrepos are not supported |
375 | 375 |
376 $ touch .hgsub | 376 $ touch .hgsub |
377 $ $NO_FALLBACK rhg files | 377 $ $NO_FALLBACK rhg files |