A Mercurial extension for running command on sub-repositories
Update for Mercurial 4.8.
003eee5497e0 — Matthias Muenzner 6 years ago
* Hotfixed onsub for use with mercurial 4.1+
132e522fda32 — viktor.kuzmin 7 years ago
compatibility with mercurial 3.8

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~ludovicchabant/onsub
read/write
ssh://hg@hg.sr.ht/~ludovicchabant/onsub
.. -*-restructuredtext-*-

onsub extension
===============

This simple extension lets you execute a command in each
subrepository. This can be handy for quickly updating all
subrepositories::

  $ hg onsub 'hg pull --update'

Please send bug reports to the `Mercurial mailinglist`__.

.. __: mailto:mercurial-devel@selenic.com

Testing
-------

To test the extension you need a source installation of Mercurial. If
the root of the Mercurial installation is ``$HGROOT``, then run::

    $ $HGROOT/tests/run-tests.py
    ..
    # Ran 2 tests, 0 skipped, 0 failed.

inside this directory to execute the two tests.

Sponsoring
----------

This extension was written by `aragost Trifork`_ for a client. Feel
free to contact `aragost Trifork`_ to discuss any further improvements
to the extension.

Contact
-------

Martin Geisler <mg@aragost.com>

.. _aragost Trifork: http://aragost.com/mercurial/

License
-------

The extension is licensed under the GNU GPL version 2 or later. Please
see the ``COPYING`` file for details.