# HG changeset patch # User Marcin Kasperski # Date 1474751967 -7200 # Node ID 7b4bc975644c6ad37e87946a1f259197c32330bd # Parent b8a7342fbf2349ce100bdb8a8850ee32a2199d25 Legacy group syntax properly tested. diff -r b8a7342fbf23 -r 7b4bc975644c tests/groups-legacy.t --- 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 date: .* (re) - summary: In repo2 - + summary: Second + comparing with */rep3 (glob) searching for changes changeset: 1:* (glob) user: Andy Default date: .* (re) - summary: In repo1 - - $ hg --cwd $BASE outgoingall --group odd - - comparing with */rep2 (glob) - searching for changes - changeset: 1:* (glob) - user: Andy Default - date: .* (re) - summary: In repo1 - + summary: Second + changeset: 2:* (glob) tag: tip parent: 0:* (glob) user: Andy Default 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 + date: .* (re) + summary: In repo1 + + comparing with */rep4 (glob) + searching for changes + changeset: 2:* (glob) + tag: tip + parent: 0:* (glob) + user: Andy Default + 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'