Differences between revisions 9 and 10
Revision 9 as of 2013-09-03 13:52:19
Size: 367
Editor: EleanoreE
Comment:
Revision 10 as of 2013-09-04 16:27:35
Size: 1232
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Wen Pendergrast is how she's called having said that she never really liked that subject. Her husband and thes chose to exist in Nebraska. Fish keeping is truly the thing your sweetheart loves most. Administering databases is how she supports your wife's family. You can always find her website here: http://lockerz.com/u/mike.schofields9427?ref=mike.schofields9427 == onsub ==

'''This extension is not distributed with Mercurial.'''

''Author: MartinGeisler''

''Current Maintainer: [[Lantiq]]''

Repository: https://bitbucket.org/lantiq/onsub

=== Overview ===

The onsub extension will traverse all subrepositories and execute a command in each.

This can be used to update all subrepositories with one command:
{{{
$ hg onsub "hg pull -u"
}}}

The extension provides a number of environment variables for you to use in your commands:

 * `HG_REPO`: Absolute path to the top-level repository in which the onsub command was executed.

 * `HG_SUBPATH`: Relative path to the current subrepository from the top-level repository.

 * `HG_SUBURL`: URL for the current subrepository as specified in the containing repository's ``.hgsub`` file.

 * `HG_SUBSTATE`: State of the current subrepository as specified in the containing repository's ``.hgsubstate`` file.

Consult `hg help onsub` after enabling the extension for the full and up-to-date documentation.

=== Configuration ===
Configure your .hgrc to enable the extension by adding following lines:

{{{
[extensions]
onsub = path/to/onsub/onsub.py
}}}

----
CategoryExtension CategoryExtensionsByOthers

onsub

This extension is not distributed with Mercurial.

Author: MartinGeisler

Current Maintainer: Lantiq

Repository: https://bitbucket.org/lantiq/onsub

Overview

The onsub extension will traverse all subrepositories and execute a command in each.

This can be used to update all subrepositories with one command:

$ hg onsub "hg pull -u"

The extension provides a number of environment variables for you to use in your commands:

  • HG_REPO: Absolute path to the top-level repository in which the onsub command was executed.

  • HG_SUBPATH: Relative path to the current subrepository from the top-level repository.

  • HG_SUBURL: URL for the current subrepository as specified in the containing repository's .hgsub file.

  • HG_SUBSTATE: State of the current subrepository as specified in the containing repository's .hgsubstate file.

Consult hg help onsub after enabling the extension for the full and up-to-date documentation.

Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
onsub = path/to/onsub/onsub.py


CategoryExtension CategoryExtensionsByOthers

OnsubExtension (last edited 2017-08-09 07:52:12 by SimonHeimberg)