Skip to content

Commit

Permalink
[git-webkit] Separate setting title from priority and resolution
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=274181
rdar://128087161

Reviewed by Aakash Jain and Ryan Haddad.

* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/clone.py:
(Clone.main): Set title even if setting priority and resolution fails.

Canonical link: https://commits.webkit.org/278781@main
  • Loading branch information
JonWBedard committed May 14, 2024
1 parent ab68b25 commit 382ae7f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,11 @@ def pick_attr(name, plural, default=None):
sys.stderr.write('Completed clone, but failed to set parent, continuing...\n')
result += 1

if prefix:
raw_clone.title = '{} {}'.format(prefix, raw_issue.title)
raw_clone.commit_changes()

try:
if prefix:
raw_clone.title = '{} {}'.format(prefix, raw_issue.title)
raw_clone.priority = raw_issue.priority
raw_clone.resolution = raw_issue.resolution
raw_clone.commit_changes()
Expand Down

0 comments on commit 382ae7f

Please sign in to comment.