mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] forwardport: merge error message change in git
Apparently 2.34: * flipped around the "auto-merging" and "CONFLICT" messages on stdout, so just match the second one with wildcards around to ignore the location of the first * changed the casing and content of everything after the `error` line on stderr, so just ignore it all (none of it's actually useful anyway)
This commit is contained in:
parent
4da0f5df69
commit
8c11db21a2
@ -393,15 +393,13 @@ WARNING: the update of {pr2_id.display_name} to {pr2_id.head} has caused a \
|
||||
conflict in this pull request, data may have been lost.
|
||||
|
||||
stdout:
|
||||
```
|
||||
CONFLICT \(add/add\): Merge conflict in h
|
||||
Auto-merging h
|
||||
```.*?
|
||||
CONFLICT \(add/add\): Merge conflict in h.*?
|
||||
```
|
||||
|
||||
stderr:
|
||||
```
|
||||
\\d{{2}}:\\d{{2}}:\\d{{2}}.\\d+ .* {pr2_id.head}
|
||||
error: could not apply [0-9a-f]+\\.\\.\\. newfiles
|
||||
hint: after resolving the conflicts, mark the corrected paths
|
||||
.*''', re.DOTALL))
|
||||
''', re.DOTALL))
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user