Closed Bug 1593712 Opened 6 years ago Closed 6 years ago

`moz-phab --no-arc` should fail on non-cinnabar git clones of hg hosted repos (such as mozilla-central)

Categories

(Conduit :: moz-phab, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emilio, Assigned: zalun)

Details

(Keywords: conduit-triaged)

Attachments

(1 file)

And that makes some potential contributors attach their patches to bugzilla, as in bug 1208906.

I suggested running moz-phab --no-arc insted, and the contributor said it did help.

Creating new revision:
91d8ecd50fe8 Bug 1208906 - Remove an unnecessary conditional;r=ehsan,jmathies
Linting...
No lint engine configured for this project.
Running unit tests...
No unit test engine is configured for this project.
 Exception
ERR-CONDUIT-CORE: Local VCS (git) is different from the one defined in the repository (hg).
To use Phabricator with git-cinnabar please follow the docs at https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html#using-git-cinnabar
(Run with `--trace` for a full exception trace.)
CommandError: command '/Users/my_user_name/.mozbuild/moz-phab/arcanist/bin/arc' failed to complete successfully

User had no Git Cinnabar installed and wanted to submit to a Merurial repo using git.
This should fail with or without --no-arc before submitting - further investigation is needed.

Assignee: nobody → pzalewa
Status: NEW → ASSIGNED

cinnabar is required to use git to submit to a mercurial repository on phabricator (such as mozilla-central), so it's important for this check to be present in moz-phab when required.

cinnabar isn't required to work on pure git repositories.

Summary: Moz-phab doesn't work with non-cinnabar git clones. → `moz-phab --no-arc` should fail on non-cinnabar git clones of hg hosted repos (such as mozilla-central)
Keywords: conduit-triaged
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: