Mercurial > hg-onsub
comparison test-onsub-mixed.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 |
comparison
equal
deleted
inserted
replaced
17:5ea3f7533ec5 | 18:d920e3425db5 |
---|---|
52 a = hg | 52 a = hg |
53 a/git-j = git | 53 a/git-j = git |
54 b = hg | 54 b = hg |
55 git-i = git | 55 git-i = git |
56 | 56 |
57 Test the type filter | |
58 | |
59 $ hg onsub 'echo $HG_SUBPATH' -t hg | |
60 a | |
61 b | |
62 | |
63 $ hg onsub 'echo $HG_SUBPATH' -t git | |
64 a/git-j | |
65 git-i | |
66 | |
67 Test the type filter including the root repository | |
68 | |
69 $ hg onsub 'echo $HG_SUBPATH' -t hg --root-repo | |
70 . | |
71 a | |
72 b | |
73 | |
74 $ hg onsub 'echo $HG_SUBPATH' -t git --root-repo | |
75 a/git-j | |
76 git-i | |
77 |