Mercurial > hg-onsub
diff test-onsub.t @ 18:d920e3425db5
Added parameter to filter the type of subrepo to loop through.
Added tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 29 Mar 2012 16:18:57 -0700 |
parents | 5ea3f7533ec5 |
children |
line wrap: on
line diff
--- a/test-onsub.t Tue Mar 27 16:53:23 2012 -0700 +++ b/test-onsub.t Thu Mar 29 16:18:57 2012 -0700 @@ -6,7 +6,7 @@ Check help formatting: $ hg help onsub - hg onsub [-b] [-0] [--ignore-errors] CMD [POST-CMD] + hg onsub [-b] [-0] [-t TYPE] [--ignore-errors] CMD [POST-CMD] execute a command in each subrepository @@ -55,6 +55,7 @@ --max-depth N limit recursion to N levels (negative for no limit) (default: -1) --ignore-errors continue execution despite errors + -t --type TYPE the type of repo to filter -0 --print0 end subrepository names with NUL, for use with xargs use "hg -v help onsub" to show more info