Mercurial > hg-allpaths
annotate tests/groups-modern.t @ 46:e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
author | Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl> |
---|---|
date | Sun, 25 Sep 2016 09:44:23 +0200 |
parents | cf3fe04cd96b |
children | 00995da9c204 |
rev | line source |
---|---|
37
cf3fe04cd96b
Initial work on testing
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
diff
changeset
|
1 |
46
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
2 Let's test group paths, configured with modern syntax. |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
3 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
4 Some locations used during testing: |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
5 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
6 $ WORK_DIR=${WORK_DIR-`pwd`/work} |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
7 $ rm -rf $WORK_DIR |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
8 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
9 $ export BASE=$WORK_DIR/base |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
10 $ export REP1=$WORK_DIR/rep1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
11 $ export REP2=$WORK_DIR/rep2 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
12 $ export REP3=$WORK_DIR/rep3 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
13 $ export REP4=$WORK_DIR/rep4 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
14 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
15 First we need appropriate Mercurial configuration file (and variable |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
16 which ensures it is used). |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
17 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
18 $ export HGRCPATH=$WORK_DIR/hgrc |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
19 $ mkdir -p $HGRCPATH |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
20 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
21 $ cat > $HGRCPATH/basic.rc << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
22 > [ui] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
23 > username = Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
24 > [extensions] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
25 > mercurial_all_paths = |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
26 > [all_paths] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
27 > group.odd = remote1 remote3 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
28 > group.even = remote2 remote4 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
29 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
30 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
31 We need some repositories to test. |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
32 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
33 $ hg init "$BASE" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
34 $ hg init "$REP1" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
35 $ hg init "$REP2" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
36 $ hg init "$REP3" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
37 $ hg init "$REP4" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
38 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
39 and configuration of groups: |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
40 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
41 $ cat > $BASE/.hg/hgrc << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
42 > [paths] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
43 > remote1=$REP1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
44 > remote2=$REP2 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
45 > remote3=$REP3 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
46 > remote4=$REP4 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
47 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
48 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
49 Let's test pushing |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
50 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
51 $ cat > $BASE/file.txt << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
52 > Some text |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
53 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
54 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
55 $ hg --cwd $BASE add |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
56 adding file.txt |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
57 $ hg --cwd $BASE commit -m 'First' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
58 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
59 $ hg --cwd $BASE pushall -g odd |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
60 pushing to */rep1 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
61 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
62 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
63 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
64 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
65 added 1 changesets with 1 changes to 1 files |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
66 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
67 pushing to */rep3 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
68 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
69 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
70 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
71 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
72 added 1 changesets with 1 changes to 1 files |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
73 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
74 $ hg --cwd $REP1 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
75 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
76 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
77 $ hg --cwd $REP2 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
78 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
79 $ hg --cwd $REP3 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
80 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
81 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
82 $ hg --cwd $REP4 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
83 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
84 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
85 $ cat >> $BASE/file.txt << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
86 > More text |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
87 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
88 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
89 $ hg --cwd $BASE commit -m 'Second' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
90 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
91 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
92 $ hg --cwd $BASE pushall --group even |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
93 pushing to */rep2 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
94 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
95 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
96 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
97 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
98 added 2 changesets with 2 changes to 1 files |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
99 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
100 pushing to */rep4 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
101 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
102 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
103 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
104 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
105 added 2 changesets with 2 changes to 1 files |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
106 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
107 $ hg --cwd $REP1 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
108 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
109 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
110 $ hg --cwd $REP2 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
111 1: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
112 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
113 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
114 $ hg --cwd $REP3 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
115 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
116 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
117 $ hg --cwd $REP4 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
118 1: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
119 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
120 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
121 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
122 Let's also test pulling |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
123 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
124 $ hg --cwd $REP1 update |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
125 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
126 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
127 $ cat > $REP1/rep1.txt << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
128 > Another text |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
129 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
130 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
131 $ hg --cwd $REP1 add |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
132 adding rep1.txt |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
133 $ hg --cwd $REP1 commit -m "In repo1" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
134 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
135 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
136 $ hg --cwd $REP2 update |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
137 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
138 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
139 $ cat >> $REP2/file.txt << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
140 > From repo2… |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
141 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
142 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
143 $ hg --cwd $REP2 commit -m "In repo2" |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
144 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
145 $ hg --cwd $BASE incomingall --group odd |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
146 comparing with */rep1 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
147 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
148 changeset: 1:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
149 tag: tip |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
150 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
151 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
152 summary: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
153 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
154 comparing with */rep3 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
155 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
156 no changes found |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
157 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
158 $ hg --cwd $BASE incomingall --group even |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
159 comparing with */rep2 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
160 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
161 changeset: 2:.* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
162 tag: tip |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
163 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
164 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
165 summary: In repo2 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
166 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
167 comparing with */rep4 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
168 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
169 no changes found |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
170 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
171 $ hg --cwd $BASE pullall -g odd |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
172 pulling from */rep1 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
173 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
174 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
175 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
176 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
177 added 1 changesets with 1 changes to 1 files (+1 heads) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
178 (run 'hg heads' to see heads, 'hg merge' to merge) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
179 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
180 pulling from */rep3 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
181 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
182 no changes found |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
183 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
184 $ hg --cwd $BASE log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
185 2: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
186 1: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
187 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
188 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
189 $ hg --cwd $BASE outgoingall --group odd |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
190 comparing with */rep1 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
191 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
192 changeset: 1:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
193 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
194 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
195 summary: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
196 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
197 comparing with */rep3 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
198 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
199 changeset: 1:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
200 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
201 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
202 summary: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
203 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
204 changeset: 2:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
205 tag: tip |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
206 parent: 0:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
207 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
208 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
209 summary: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
210 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
211 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
212 $ hg --cwd $BASE outgoingall --group even |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
213 comparing with */rep2 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
214 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
215 changeset: 2:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
216 tag: tip |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
217 parent: 0:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
218 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
219 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
220 summary: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
221 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
222 comparing with */rep4 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
223 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
224 changeset: 2:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
225 tag: tip |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
226 parent: 0:* (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
227 user: Andy Default <default@nowhere.net> |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
228 date: .* (re) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
229 summary: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
230 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
231 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
232 Wrong groups do not work |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
233 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
234 $ hg --cwd $BASE pullall -g unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
235 abort: No paths defined in section unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
236 [255] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
237 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
238 $ hg --cwd $BASE incomingall --group unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
239 abort: No paths defined in section unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
240 [255] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
241 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
242 $ hg --cwd $BASE outgoingall --group unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
243 abort: No paths defined in section unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
244 [255] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
245 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
246 $ hg --cwd $BASE pushall -g unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
247 abort: No paths defined in section unknown |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
248 [255] |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
249 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
250 But global access works |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
251 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
252 $ hg --cwd $BASE pushall |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
253 HMM |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
254 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
255 $ hg --cwd $BASE pullall |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
256 HMM |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
257 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
258 Finally let's test that push options work |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
259 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
260 $ cat > $BASE/br1.txt << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
261 > Br1 text |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
262 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
263 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
264 $ hg --cwd $BASE branch br1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
265 marked working directory as branch br1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
266 (branches are permanent and global, did you want a bookmark?) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
267 $ hg --cwd $BASE add |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
268 adding br1.txt |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
269 $ hg --cwd $BASE commit -m 'Br1' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
270 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
271 $ hg --cwd $BASE update default |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
272 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
273 $ cat >> $BASE/file.txt << EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
274 > later text |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
275 > EOF |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
276 $ hg --cwd $BASE commit -m 'Normal' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
277 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
278 $ hg --cwd $BASE pushall -r default -f -g odd |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
279 pushing to */rep1 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
280 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
281 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
282 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
283 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
284 added 1 changesets with 1 changes to 1 files |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
285 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
286 pushing to */rep3 (glob) |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
287 searching for changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
288 adding changesets |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
289 adding manifests |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
290 adding file changes |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
291 added 2 changesets with 2 changes to 2 files |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
292 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
293 $ hg --cwd $BASE log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
294 4: Normal |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
295 3: Br1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
296 2: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
297 1: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
298 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
299 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
300 $ hg --cwd $REP1 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
301 2: Normal |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
302 1: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
303 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
304 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
305 $ hg --cwd $REP2 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
306 2: In repo2 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
307 1: Second |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
308 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
309 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
310 $ hg --cwd $REP3 log -T '{rev}: {desc}\n' |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
311 2: Normal |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
312 1: In repo1 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
313 0: First |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
314 |
e695060c716e
Tests for intended future behaviour of alternative groups and prioritizations
Marcin Kasperski <Marcin.Kasperski@mekk.waw.pl>
parents:
37
diff
changeset
|
315 . |