tests/test-incoming-outgoing.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 30 Aug 2023 12:24:12 +0200
changeset 50911 93cc085653fb
parent 49920 2f2682f40ea0
permissions -rw-r--r--
run-tests: detect HGWITHRUSTEXT value Without this, some manual check in tests/test-dirstate.t could get confused by the lack of `rust` in module policy and break the test.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 15993
diff changeset
     1
#require serve
15446
c5c9ca3719f9 tests: use 'hghave serve' to guard tests that requires serve daemon management
Mads Kiilerich <mads@kiilerich.com>
parents: 14981
diff changeset
     2
13956
ffb5c09ba822 tests: remove redundant mkdir
Martin Geisler <mg@lazybytes.net>
parents: 12643
diff changeset
     3
  $ hg init test
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
     4
  $ cd test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
     5
  $ for i in 0 1 2 3 4 5 6 7 8; do
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
     6
  >     echo $i >> foo
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
     7
  >     hg commit -A -m $i
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
     8
  > done
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
     9
  adding foo
49920
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 39506
diff changeset
    10
  $ hg verify -q
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    11
  $ hg serve -p $HGPORT -d --pid-file=hg.pid
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    12
  $ cat hg.pid >> $DAEMON_PIDS
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    13
  $ cd ..
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    14
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    15
  $ hg init new
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    16
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    17
http incoming
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    18
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
    19
  $ hg -R new incoming http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12377
diff changeset
    20
  comparing with http://localhost:$HGPORT/
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    21
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    22
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    23
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    24
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    25
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    26
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    27
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    28
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    29
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    30
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    31
  changeset:   2:d9f42cd1a1ec
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    32
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    33
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    34
  summary:     2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    35
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    36
  changeset:   3:376476025137
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    37
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    38
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    39
  summary:     3
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    40
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    41
  changeset:   4:70d7eb252d49
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    42
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    43
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    44
  summary:     4
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    45
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    46
  changeset:   5:ad284ee3b5ee
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    47
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    48
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    49
  summary:     5
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    50
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    51
  changeset:   6:e9229f2de384
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    52
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    53
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    54
  summary:     6
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    55
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    56
  changeset:   7:d152815bb8db
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    57
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    58
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    59
  summary:     7
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    60
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    61
  changeset:   8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    62
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    63
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    64
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    65
  summary:     8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    66
  
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
    67
  $ hg -R new incoming -r 4 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12377
diff changeset
    68
  comparing with http://localhost:$HGPORT/
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    69
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    70
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    71
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    72
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    73
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    74
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    75
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    76
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    77
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    78
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    79
  changeset:   2:d9f42cd1a1ec
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    80
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    81
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    82
  summary:     2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    83
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    84
  changeset:   3:376476025137
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    85
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    86
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    87
  summary:     3
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    88
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    89
  changeset:   4:70d7eb252d49
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    90
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    91
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
    92
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    93
  summary:     4
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    94
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    95
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    96
local incoming
2260
99d6cae511f7 add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff changeset
    97
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    98
  $ hg -R new incoming test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
    99
  comparing with test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   100
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   101
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   102
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   103
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   104
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   105
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   106
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   107
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   108
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   109
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   110
  changeset:   2:d9f42cd1a1ec
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   111
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   112
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   113
  summary:     2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   114
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   115
  changeset:   3:376476025137
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   116
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   117
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   118
  summary:     3
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   119
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   120
  changeset:   4:70d7eb252d49
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   121
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   122
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   123
  summary:     4
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   124
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   125
  changeset:   5:ad284ee3b5ee
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   126
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   127
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   128
  summary:     5
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   129
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   130
  changeset:   6:e9229f2de384
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   131
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   132
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   133
  summary:     6
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   134
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   135
  changeset:   7:d152815bb8db
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   136
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   137
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   138
  summary:     7
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   139
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   140
  changeset:   8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   141
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   142
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   143
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   144
  summary:     8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   145
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   146
  $ hg -R new incoming -r 4 test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   147
  comparing with test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   148
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   149
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   150
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   151
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   152
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   153
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   154
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   155
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   156
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   157
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   158
  changeset:   2:d9f42cd1a1ec
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   159
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   160
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   161
  summary:     2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   162
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   163
  changeset:   3:376476025137
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   164
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   165
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   166
  summary:     3
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   167
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   168
  changeset:   4:70d7eb252d49
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   169
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   170
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   171
  summary:     4
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   172
  
2260
99d6cae511f7 add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff changeset
   173
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   174
limit to 2 changesets
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   175
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   176
  $ hg -R new incoming -l 2 test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   177
  comparing with test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   178
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   179
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   180
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   181
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   182
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   183
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   184
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   185
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   186
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   187
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   188
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   189
limit to 2 changesets, test with -p --git
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   190
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   191
  $ hg -R new incoming -l 2 -p --git test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   192
  comparing with test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   193
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   194
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   195
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   196
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   197
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   198
  diff --git a/foo b/foo
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   199
  new file mode 100644
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   200
  --- /dev/null
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   201
  +++ b/foo
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   202
  @@ -0,0 +1,1 @@
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   203
  +0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   204
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   205
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   206
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   207
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   208
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   209
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   210
  diff --git a/foo b/foo
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   211
  --- a/foo
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   212
  +++ b/foo
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   213
  @@ -1,1 +1,2 @@
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   214
   0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   215
  +1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   216
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   217
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   218
test with --bundle
2260
99d6cae511f7 add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff changeset
   219
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
   220
  $ hg -R new incoming --bundle test.hg http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12377
diff changeset
   221
  comparing with http://localhost:$HGPORT/
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   222
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   223
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   224
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   225
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   226
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   227
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   228
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   229
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   230
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   231
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   232
  changeset:   2:d9f42cd1a1ec
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   233
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   234
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   235
  summary:     2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   236
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   237
  changeset:   3:376476025137
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   238
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   239
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   240
  summary:     3
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   241
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   242
  changeset:   4:70d7eb252d49
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   243
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   244
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   245
  summary:     4
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   246
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   247
  changeset:   5:ad284ee3b5ee
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   248
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   249
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   250
  summary:     5
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   251
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   252
  changeset:   6:e9229f2de384
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   253
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   254
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   255
  summary:     6
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   256
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   257
  changeset:   7:d152815bb8db
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   258
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   259
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   260
  summary:     7
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   261
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   262
  changeset:   8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   263
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   264
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   265
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   266
  summary:     8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   267
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   268
  $ hg -R new incoming --bundle test2.hg test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   269
  comparing with test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   270
  changeset:   0:00a43fa82f62
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   271
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   272
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   273
  summary:     0
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   274
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   275
  changeset:   1:5460a410df01
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   276
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   277
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   278
  summary:     1
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   279
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   280
  changeset:   2:d9f42cd1a1ec
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   281
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   282
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   283
  summary:     2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   284
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   285
  changeset:   3:376476025137
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   286
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   287
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   288
  summary:     3
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   289
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   290
  changeset:   4:70d7eb252d49
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   291
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   292
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   293
  summary:     4
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   294
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   295
  changeset:   5:ad284ee3b5ee
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   296
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   297
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   298
  summary:     5
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   299
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   300
  changeset:   6:e9229f2de384
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   301
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   302
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   303
  summary:     6
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   304
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   305
  changeset:   7:d152815bb8db
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   306
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   307
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   308
  summary:     7
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   309
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   310
  changeset:   8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   311
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   312
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   313
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   314
  summary:     8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   315
  
2260
99d6cae511f7 add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff changeset
   316
99d6cae511f7 add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff changeset
   317
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   318
test the resulting bundles
2260
99d6cae511f7 add tests for incoming and outgoing
Benoit Boissinot <benoit.boissinot@ens-lyon.org>
parents:
diff changeset
   319
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   320
  $ hg init temp
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   321
  $ hg init temp2
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   322
  $ hg -R temp unbundle test.hg
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   323
  adding changesets
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   324
  adding manifests
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   325
  adding file changes
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   326
  added 9 changesets with 9 changes to 1 files
39497
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 35442
diff changeset
   327
  new changesets 00a43fa82f62:e4feb4ac9035 (9 drafts)
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   328
  (run 'hg update' to get a working copy)
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   329
  $ hg -R temp2 unbundle test2.hg
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   330
  adding changesets
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   331
  adding manifests
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   332
  adding file changes
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   333
  added 9 changesets with 9 changes to 1 files
39497
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 35442
diff changeset
   334
  new changesets 00a43fa82f62:e4feb4ac9035 (9 drafts)
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   335
  (run 'hg update' to get a working copy)
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   336
  $ hg -R temp tip
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   337
  changeset:   8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   338
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   339
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   340
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   341
  summary:     8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   342
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   343
  $ hg -R temp2 tip
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   344
  changeset:   8:e4feb4ac9035
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   345
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   346
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   347
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   348
  summary:     8
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   349
  
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   350
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   351
  $ rm -r temp temp2 new
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   352
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   353
test outgoing
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   354
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   355
  $ hg clone test test-dev
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   356
  updating to branch default
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   357
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   358
  $ cd test-dev
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   359
  $ for i in 9 10 11 12 13; do
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   360
  >     echo $i >> foo
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   361
  >     hg commit -A -m $i
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   362
  > done
49920
2f2682f40ea0 tests: use the `--quiet` flag for verify when applicable
Raphaël Gomès <rgomes@octobus.net>
parents: 39506
diff changeset
   363
  $ hg verify -q
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   364
  $ cd ..
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   365
  $ hg -R test-dev outgoing test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   366
  comparing with test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   367
  searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   368
  changeset:   9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   369
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   370
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   371
  summary:     9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   372
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   373
  changeset:   10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   374
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   375
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   376
  summary:     10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   377
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   378
  changeset:   11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   379
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   380
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   381
  summary:     11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   382
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   383
  changeset:   12:e576b1bed305
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   384
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   385
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   386
  summary:     12
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   387
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   388
  changeset:   13:96bbff09a7cc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   389
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   390
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   391
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   392
  summary:     13
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   393
  
15992
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   394
test outgoing with secret changesets
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   395
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   396
  $ hg -R test-dev phase --force --secret 9
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   397
  $ hg -R test-dev outgoing test
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   398
  comparing with test
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   399
  searching for changes
15993
0b05e0bfdc1c scmutil: unify some 'no changes found' messages
Matt Mackall <mpm@selenic.com>
parents: 15992
diff changeset
   400
  no changes found (ignored 5 secret changesets)
15992
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   401
  [1]
963c8a553524 outgoing: display info about secret changets while no sharable changeset found
Alain Leufroy <alain.leufroyATgmailMYDOTcom>
parents: 15446
diff changeset
   402
  $ hg -R test-dev phase --draft -r 'head()'
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   403
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   404
limit to 3 changesets
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   405
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   406
  $ hg -R test-dev outgoing -l 3 test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   407
  comparing with test
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   408
  searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   409
  changeset:   9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   410
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   411
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   412
  summary:     9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   413
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   414
  changeset:   10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   415
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   416
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   417
  summary:     10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   418
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   419
  changeset:   11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   420
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   421
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   422
  summary:     11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   423
  
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
   424
  $ hg -R test-dev outgoing http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12377
diff changeset
   425
  comparing with http://localhost:$HGPORT/
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   426
  searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   427
  changeset:   9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   428
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   429
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   430
  summary:     9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   431
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   432
  changeset:   10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   433
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   434
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   435
  summary:     10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   436
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   437
  changeset:   11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   438
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   439
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   440
  summary:     11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   441
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   442
  changeset:   12:e576b1bed305
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   443
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   444
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   445
  summary:     12
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   446
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   447
  changeset:   13:96bbff09a7cc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   448
  tag:         tip
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   449
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   450
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   451
  summary:     13
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   452
  
12366
c01dc9087d9a tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com>
parents: 12156
diff changeset
   453
  $ hg -R test-dev outgoing -r 11 http://localhost:$HGPORT/
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12377
diff changeset
   454
  comparing with http://localhost:$HGPORT/
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   455
  searching for changes
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   456
  changeset:   9:d89d4abea5bc
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   457
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   458
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   459
  summary:     9
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   460
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   461
  changeset:   10:820095aa7158
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   462
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   463
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   464
  summary:     10
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   465
  
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   466
  changeset:   11:09ede2f3a638
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   467
  user:        test
12156
4c94b6d0fb1c tests: remove unneeded -d flags
Martin Geisler <mg@lazybytes.net>
parents: 12118
diff changeset
   468
  date:        Thu Jan 01 00:00:00 1970 +0000
12118
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   469
  summary:     11
ab2ccdce985d tests: unify test-incoming-outgoing
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 10398
diff changeset
   470
  
14981
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   471
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   472
incoming from empty remote repository
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   473
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   474
  $ hg init r1
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   475
  $ hg init r2
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   476
  $ echo a > r1/foo
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   477
  $ hg -R r1 ci -Ama
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   478
  adding foo
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   479
  $ hg -R r1 incoming r2 --bundle x.hg
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   480
  comparing with r2
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   481
  searching for changes
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   482
  no changes found
192e02680d09 setdiscovery: return anyincoming=False when remote's only head is nullid
Andrew Pritchard <andrewp@fogcreek.com>
parents: 13956
diff changeset
   483
  [1]
35442
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   484
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   485
Create a "split" repo that pulls from r1 and pushes to r2, using default-push
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   486
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   487
  $ hg clone r1 split
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   488
  updating to branch default
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   489
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   490
  $ cat > split/.hg/hgrc << EOF
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   491
  > [paths]
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   492
  > default = $TESTTMP/r3
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   493
  > default-push = $TESTTMP/r2
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   494
  > EOF
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   495
  $ hg -R split outgoing
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   496
  comparing with $TESTTMP/r2
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   497
  searching for changes
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   498
  changeset:   0:3e92d79f743a
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   499
  tag:         tip
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   500
  user:        test
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   501
  date:        Thu Jan 01 00:00:00 1970 +0000
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   502
  summary:     a
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   503
  
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   504
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   505
Use default:pushurl instead of default-push
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   506
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   507
Windows needs a leading slash to make a URL that passes all of the checks
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   508
  $ WD=`pwd`
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   509
#if windows
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   510
  $ WD="/$WD"
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   511
#endif
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   512
  $ cat > split/.hg/hgrc << EOF
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   513
  > [paths]
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   514
  > default = $WD/r3
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   515
  > default:pushurl = file://$WD/r2
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   516
  > EOF
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   517
  $ hg -R split outgoing
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   518
  comparing with file:/*/$TESTTMP/r2 (glob)
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   519
  searching for changes
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   520
  changeset:   0:3e92d79f743a
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   521
  tag:         tip
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   522
  user:        test
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   523
  date:        Thu Jan 01 00:00:00 1970 +0000
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   524
  summary:     a
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   525
  
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   526
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   527
Push and then double-check outgoing
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   528
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   529
  $ echo a >> split/foo
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   530
  $ hg -R split commit -Ama
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   531
  $ hg -R split push
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   532
  pushing to file:/*/$TESTTMP/r2 (glob)
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   533
  searching for changes
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   534
  adding changesets
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   535
  adding manifests
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   536
  adding file changes
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   537
  added 2 changesets with 2 changes to 1 files
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   538
  $ hg -R split outgoing
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   539
  comparing with file:/*/$TESTTMP/r2 (glob)
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   540
  searching for changes
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   541
  no changes found
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   542
  [1]
0ebd94ac56d1 outgoing: respect ":pushurl" paths (issue5365)
Hollis Blanchard <hollis_blanchard@mentor.com>
parents: 34661
diff changeset
   543