[Bug 6243] New: phabsend per repo callsign configuration

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Dec 17 06:00:28 EST 2019


            Bug ID: 6243
           Summary: phabsend per repo callsign configuration
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Other
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: darren.moffat at oracle.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

The current version of phabsend provides the ability to manually configure a
single Phabricator repo callsign per user in ~/.hgrc or <repo>/.hg/hgrc of the
local copy.

When working with multiple different (and unrelated) Mercurial repos setting
callsign in ~/.hgrc doesn't work.   Setting it in <repo>/.hg/hgrc is a
workaround but still requires a manual setup for each local working copy of a
repo that a user takes.  Often our users have multiple different working copies
of a repo for different work in progress.  In our particular deployment we also
have nested Mercurial repositories as well so we would need to set
<repo>/.hg/hgrc in each of those local nested copies.

We need to either derive the callsign, like arc diff appears to be able to do,
OR there needs be be a way to set the callsign in a file that is brought into
any clones of the repo.

When using 'arc diff' the callsign can be explicitly configured for 'arc' in
.arcrc at the top of the Mercurial repository eg:
 $ arc set-config repository.callsign=ONMAN

Since <repo>/.arcrc could be a tracked file that would solve our issue if
phabsend read from arcrc.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Mercurial-devel mailing list