gecko-dev/python/mozversioncontrol
Ricky Stewart 853de17575 Bug 1633494 - Augment hg command used to get commit time r=glandium
`hg` gives us some additional levers to tweak when determining which commits are public and non-public. All the better, because `hg`'s default behavior under a rebase is to preserve the original commit time, so if you rebase a month-old commit on the latest version of central, you might still get the "revision too old" error despite your tree actually being completely up-to-date. Here we replace the original logic with something a little bit more robust to that scenario.

As before, this is a best-effort check that might have false positives or false negatives; this commit doesn't change that, but hopefully it decreases the amount of false positives under `hg`.

Differential Revision: https://phabricator.services.mozilla.com/D74745
2020-05-12 15:53:14 +00:00
..
mozversioncontrol Bug 1633494 - Augment hg command used to get commit time r=glandium 2020-05-12 15:53:14 +00:00
test Bug 1621322 - Implement mach lint --revset=REV r=ahal 2020-03-22 22:12:18 +00:00
setup.py