Closed Bug 1868464 Opened 2 years ago Closed 1 year ago

`moz-phab uplift` doesn't warn nor error if the expected head doesn't exist

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: sheehan)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR

  1. Have a freshly checked out repository (possibly mozilla-central) where the beta/release heads don't appear.
  2. Try something like moz-phab uplift --train beta

Expected Results

Either attempt to pull and checkout beta, or fail.

Actual Results

No rebase happens but the patch is submitted regardless.

If the target head isn't in the repo, we still want to submit the uplift request. However I see how that is confusing, especially if you're used to the rebasing behaviour. I'll add a warning output that target head couldn't be found and the commit will be submitted without rebasing.

Assignee: nobody → sheehan
Component: General → moz-phab

Add a warning message to the output of moz-phab uplift when a
target head could not be found for uplift. In this case we will
still submit the patch as an uplift request without rebasing onto
the latest changes.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: