Closed Bug 1714646 Opened 3 years ago Closed 3 years ago

moz-phab submits to the wrong branch if you switch between branches in the same local repository

Categories

(Conduit :: moz-phab, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mossop, Assigned: zeid)

Details

(Keywords: conduit-triaged)

Attachments

(1 file)

moz-phab uses .arcconfig to figure out which branch to submit to, but then caches the repository in .hg/.moz-phab_phid. If you subsequently switch to a different branch and .arcconfig points to the new one moz-phab will ignore that and still submit to whatever is cached in .hg/.moz-phab_phid.

Assignee: nobody → zeid

Possible solution here is to include the "callsign" in .moz-phab_phid, and check the callsign value against the one parsed from .arcconfig to determine if the cache should be invalidated.

Keywords: conduit-triaged
Priority: -- → P3
Priority: P3 → P2

This change restructures the repo phid cache file in order to ensure
that the correct repo phid that matches the call sign is being fetched.

This will be released in 1.0.0rc2.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Summary: moz-phab submits to the wrong branch if you switch between branches in the same local repository. → moz-phab submits to the wrong branch if you switch between branches in the same local repository
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: