Page MenuHomeSoftware Heritage
Paste P281

Arc patch D380 resulting in an error
ActivePublic

Authored by moranegg on Jul 16 2018, 11:41 AM.
This diff is against commit f29e3f49ad973df93bfbf9e543b808fe43003bf9, but
the commit is nowhere in the working copy. Try to apply it against the
current working copy state? (9b4eb1e1b43349e4356307e1b5f924c870fc0b25)
[Y/n] Y
Checking patch swh/deposit/tests/api/test_deposit_status.py...
Checking patch swh/deposit/api/private/deposit_check.py...
error: while searching for:
if not check:
errors.append({
'summary': error_message,
'fields': archive_request.id
})
if not errors:
error: patch failed: swh/deposit/api/private/deposit_check.py:59
Checking patch swh/deposit/api/deposit_status.py...
Applied patch swh/deposit/tests/api/test_deposit_status.py cleanly.
Applying patch swh/deposit/api/private/deposit_check.py with 1 reject...
Rejected hunk #1.
Applied patch swh/deposit/api/deposit_status.py cleanly.
Patch Failed!
Usage Exception: Unable to apply patch!

Event Timeline

That must be because commit f29e3f49ad973df93bfbf9e543b808fe43003bf9 only exists on my machine.
It does not exist on the server nor on your machine, so you cannot apply that diff.