Closed Bug 1926434 Opened 1 year ago Closed 9 months ago

decouple Phabricator revision loading/validation from `show_commit_stack`

Categories

(Conduit :: moz-phab, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: mathew.hodson)

Details

Attachments

(1 file)

show_commit_stack has a validate=True kwarg which causes the method to load revision data from Phabricator and perform checks that set flags on the commit objects, among other things. We should split the data loading out of show_commit_stack so it is purely a method which displays information to the user.

Split show_commit_stack into two functions for the two places it is
called. The new validate_commit_stack sets flags on commit objects
and shows warnings. show_commit_stack now just shows the submissions
at the end.

Assignee: nobody → mathew.hodson
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: