Differences between revisions 1 and 2
Revision 1 as of 2010-09-06 10:25:47
Size: 469
Comment:
Revision 2 as of 2011-01-20 07:41:34
Size: 572
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
This can be used to update all subrepositories with one command:
{{{
$ hg onsub "hg pull -u"
}}}

onsub

This extension is not distributed with Mercurial.

Author: Martin Geisler

Download site: http://bitbucket.org/mg/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"

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)