[Bug 6482] New: Push to multiple targets

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Feb 7 07:29:55 UTC 2021


https://bz.mercurial-scm.org/show_bug.cgi?id=6482

            Bug ID: 6482
           Summary: Push to multiple targets
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: zash at zash.se
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

Scenario:
I have multiple mirrors of my code. I want to push to all of them.

Currently:
I could set up cronjobs to pull from, or just repeat `hg push ; hg push mirror`
etc.

Feature request:
Allow multiple destinations:
$ hg push default mirror backupmirror

This is currently an error, "invalid arguments", so shouldn't be BC.

Push could be done in serial (like running `hg push` in a loop in the shell) or
in parallel to speed it up (can't do that in shell because locks).

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


More information about the Mercurial-devel mailing list