Mercurial > hg-allpaths
changeset 42:7b4bc975644c
Legacy group syntax properly tested.
author | Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl> |
---|---|
date | Sat, 24 Sep 2016 23:19:27 +0200 |
parents | b8a7342fbf23 |
children | a1fb32ff4532 |
files | tests/groups-legacy.t |
diffstat | 1 files changed, 33 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/groups-legacy.t Sat Sep 24 23:06:23 2016 +0200 +++ b/tests/groups-legacy.t Sat Sep 24 23:19:27 2016 +0200 @@ -181,38 +181,48 @@ 1: Second 0: First - $ hg --cwd $BASE outgoingall --group even + $ hg --cwd $BASE outgoingall --group odd comparing with */rep1 (glob) searching for changes - changeset: 2:.* (re) - tag: tip - parent: 0:.* (re) + changeset: 1:* (glob) user: Andy Default <default@nowhere.net> date: .* (re) - summary: In repo2 - + summary: Second + comparing with */rep3 (glob) searching for changes changeset: 1:* (glob) user: Andy Default <default@nowhere.net> date: .* (re) - summary: In repo1 - - $ hg --cwd $BASE outgoingall --group odd - - comparing with */rep2 (glob) - searching for changes - changeset: 1:* (glob) - user: Andy Default <default@nowhere.net> - date: .* (re) - summary: In repo1 - + summary: Second + changeset: 2:* (glob) tag: tip parent: 0:* (glob) user: Andy Default <default@nowhere.net> date: .* (re) - summary: In repo2 + summary: In repo1 + + + $ hg --cwd $BASE outgoingall --group even + comparing with */rep2 (glob) + searching for changes + changeset: 2:* (glob) + tag: tip + parent: 0:* (glob) + user: Andy Default <default@nowhere.net> + date: .* (re) + summary: In repo1 + + comparing with */rep4 (glob) + searching for changes + changeset: 2:* (glob) + tag: tip + parent: 0:* (glob) + user: Andy Default <default@nowhere.net> + date: .* (re) + summary: In repo1 + Wrong groups do not work @@ -236,9 +246,11 @@ $ hg --cwd $BASE pushall abort: No paths defined in section paths + [255] $ hg --cwd $BASE pullall abort: No paths defined in section paths + [255] Finally let's test that push options work @@ -272,13 +284,13 @@ adding changesets adding manifests adding file changes - added 2 changesets with 2 changes to 1 files + added 2 changesets with 2 changes to 2 files $ hg --cwd $BASE log -T '{rev}: {desc}\n' 4: Normal 3: Br1 - 2: In repo2 - 1: In repo1 + 2: In repo1 + 1: Second 0: First $ hg --cwd $REP1 log -T '{rev}: {desc}\n'