Closed
Bug 1914206
Opened 8 months ago
Closed 8 months ago
Make cherry_pick_commit.py work when there is no state dir
Categories
(Core :: WebRTC, task)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
131 Branch
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: pehrsons, Assigned: pehrsons)
References
Details
Attachments
(2 files)
Currently I get this error:
apehrson@apehrson-42624 mozilla-central % ./mach python dom/media/webrtc/third_party_build/cherry_pick_commit.py -- --commit-sha d4a6c3f76fc3b187115d1cd65f4d1fffd7bebb7c --commit-bug-number 1914196 --reviewers #webrtc-reviewers
resume_state: ''
Traceback (most recent call last):
File "/Users/apehrson/Dev/mozilla-central/dom/media/webrtc/third_party_build/cherry_pick_commit.py", line 278, in <module>
update_resume_state("resume2", resume_state_filename)
File "/Users/apehrson/Dev/mozilla-central/./dom/media/webrtc/third_party_build/run_operations.py", line 95, in update_resume_state
with open(resume_state_filename, "w") as ofile:
FileNotFoundError: [Errno 2] No such file or directory: '.moz-fast-forward/cherry_pick_commit.resume'
Let's try to fix this.
Assignee | ||
Comment 1•8 months ago
|
||
This matches what restore_patch_stack.py checks for.
Assignee | ||
Comment 2•8 months ago
|
||
The state dir may not exist yet, but restore_patch_stack will create it.
Also, if the state is written first but restore_patch_stack fails for some
reason, resuming will not work.
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2fe815951f5c
In cherry_pick_commit.py only care about modified files in third_party/libwebrtc. r=mjf DONTBUILD
https://hg.mozilla.org/integration/autoland/rev/3b127bc8b9bb
In cherry_pick_commit.py don't write to the resume file until after restoring the patch stack. r=mjf DONTBUILD
Comment 4•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2fe815951f5c
https://hg.mozilla.org/mozilla-central/rev/3b127bc8b9bb
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
status-firefox131:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•