Closed Bug 1863481 Opened 1 year ago Closed 1 year ago

moz-phab on a git repo should use HEAD when git-cinnabar isn't available

Categories

(Conduit :: moz-phab, task)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Sylvestre, Unassigned)

References

(Blocks 1 open bug)

Details

with git clone https://github.com/mozilla/gecko-dev && cd gecko-dev

I made some changes, I tried to push them to phabricator with:

$ moz-phab submit tip
Git Cinnabar extension is required to work on this repository.

According to Glandium, this is failing because moz-phab can't find the reference commit:
moz-phab needs the sha1 hg and for this, needs git-cinnabar

If git-cinnabar can't be found, maybe we should display a warning and use HEAD instead.

As having git-cinnabar simplifies other repository actions it's considered mandatory; this is called out as required in our documentation.

While it's probably technically possible to implement some workarounds in moz-phab, we're likely to only be able to support the simplest of cases. Given the workaround (install cinnabar as per the docs), this isn't something we should fix.

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