view README.txt @ 12:bed42905e871

Avoiding doing pull or push twice in case some path has more than one alias (like when both default and bitbucket are aliases to the same remote path)
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sun, 08 Nov 2015 09:08:58 +0100
parents 62880e909417
children 8cca585b11cc
line wrap: on
line source

.. -*- mode: rst; compile-command: "rst2html README.txt README.html" -*-

================================================
allpaths extension
================================================

Push or pull to many (or all) paths at once::

    hg pushall

(pushes to all paths defined in the ``[paths]`` config section)::

    hg pullall

(pulls from all those paths)::

    hg incomingall
    hg outgoingall

You can also provide the name of a different section::

    hg pushall -g publish

This will push to all paths specified in the ``[publish]`` config
section, which should look like this::

    [publish]
    bitbucket = ssh://hg@bitbucket.org/ludovicchabant/piecrust
    github = git+ssh://git@github.com:ludovicchabant/PieCrust.git
    other = ssh://my@own/server
    local = /some/other/place

You can also provide standard options::

    hg pushall -b branch

or::

    hg pullall --force

etc.