Handle initial ranges that start and end on the same day
Coverage decreased (-0.04%) to 91.181% when pulling aa944538752a247eff9ce12858425b681ed52067 on mathewhodson:buildid into d9796770fc6c914fb957f3fade221f64e4107570 on mozilla:main.
@zzzeid Do you have a chance to review this?
@zzzeid Do you have a chance to review this?
Hi @mathewhodson -- any chance you can rebase with main and re-run the test suite? It would also be great if you can add to the description what the current behaviour is (i.e. STR) since there is no bug associated with this PR.
This fixes commands like .\mozregression -g 20220413094328 -b 20220413215253 that would previously fail with something like this:
INFO: Got as far as we can go bisecting nightlies...
INFO: Last good revision: 4ddd4f1a1b2758a33b531378b2f011c3063fed1a (2022-04-13 21:52:53)
INFO: First bad revision: 4ddd4f1a1b2758a33b531378b2f011c3063fed1a (2022-04-13 21:52:53)
[...]
ERROR: The url
'https://hg.mozilla.org/mozilla-central/json-pushes?fromchange=4ddd4f1a1b2758a33b531378b2f011c3063fed1a&tochange=4ddd4f1a1b2758a33b531378b2f011c3063fed1a'
contains no pushlog. Maybe use another range ?
Thanks for the merge