runbot/forwardport/tests
Xavier Morel cabab210de [FIX] *: don't send merge errors to logging
Merge errors are logical failures, not technical, it doesn't make
sense to log them out because there's nothing to be done technically,
a PR having consistency issues or a conflict is "normal". As such
those messages are completely useless and just take unnecessary space
in the logs, making their use more difficult.

Instead of sending them to logging, log staging attempts to the PR
itself, and only do normal logging of the operation as an indicative
item. And remove a bunch of `expect_log_errors` which don't stand
anymore.

While at it, fix a missed issue in forward porting: if the `root.head`
doesn't exist in the repo its `fetch` will immediately fail before
`cat-file` can even run, so the second one is redundant and the first
one needs to be handled properly. Do that. And leave checking
for *that* specific condition as a logged-out error as it should mean
there's something very odd with the repository (how can a pull request
have a head we can't fetch?)
2024-07-26 14:48:59 +02:00
..
conftest.py [IMP] *: store filestore & forwardport checkouts in temp dirs 2022-08-05 15:35:51 +02:00
test_batches.py [CHG] forwardport: perform forward porting without working copies 2024-07-08 14:37:14 +02:00
test_conflicts.py [FIX] *: don't send merge errors to logging 2024-07-26 14:48:59 +02:00
test_limit.py [FIX] *: don't send merge errors to logging 2024-07-26 14:48:59 +02:00
test_overrides.py [CHG] *: move forward-porting over to batches 2024-05-24 09:08:56 +02:00
test_simple.py [IMP] *: add test for r- on forward ports 2024-07-26 12:29:52 +02:00
test_updates.py [CHG] forwardport: perform forward porting without working copies 2024-07-08 14:37:14 +02:00
test_weird.py [FIX] runbot_merge: followup detached PRs when disabling branches 2024-06-28 16:06:20 +02:00