view README.txt @ 5:0c3ddf5c1a3f

One more README syntax tweak
author Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
date Sun, 08 Nov 2015 08:26:34 +0100
parents 7591d4101b93
children 62880e909417
line wrap: on
line source

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

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

This simple extension lets you execute commands on multiple paths.

For now, this is only the ``push`` command::

    $ hg pushall

This will push to all paths specified in the ``[paths]`` config section.

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 ``push`` options::

    $ hg pushall -b branch