tests/test-infinitepush-ci.t
author Raphaël Gomès <rgomes@octobus.net>
Thu, 06 Jul 2023 14:32:07 +0200
changeset 50763 f8412da86d05
parent 50704 68c4f8f3c9f4
permissions -rw-r--r--
rust-config: add support for default config items Now that configitems.toml exists, we can read from it the default values for all core config items. We will add the devel-warning for use of undeclared config items in a later patch when we're done adding the missing entries for `rhg`.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37379
24c7428983c5 tests: disable infinitepush tests for simple store
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37240
diff changeset
     1
#require no-reposimplestore
24c7428983c5 tests: disable infinitepush tests for simple store
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37240
diff changeset
     2
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     3
Testing the case when there is no infinitepush extension present on the client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     4
side and the server routes each push to bundlestore. This case is very much
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     5
similar to CI use case.
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     6
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     7
Setup
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     8
-----
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     9
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    10
  $ . "$TESTDIR/library-infinitepush.sh"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    11
  $ cat >> $HGRCPATH <<EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    12
  > [alias]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    13
  > glog = log -GT "{rev}:{node|short} {desc}\n{phase}"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    14
  > EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    15
  $ cp $HGRCPATH $TESTTMP/defaulthgrc
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    16
  $ hg init repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    17
  $ cd repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    18
  $ setupserver
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    19
  $ echo "pushtobundlestore = True" >> .hg/hgrc
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    20
  $ echo "[extensions]" >> .hg/hgrc
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    21
  $ echo "infinitepush=" >> .hg/hgrc
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    22
  $ echo "[infinitepush]" >> .hg/hgrc
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    23
  $ echo "deprecation-abort=no" >> .hg/hgrc
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    24
  $ echo initialcommit > initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    25
  $ hg ci -Aqm "initialcommit"
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    26
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    27
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    28
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    29
  extension in Mercurial 6.6.
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    30
  IMPORTANT: if you use this extension, please contact (chg !)
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    31
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be (chg !)
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    32
  unused and barring learning of users of this functionality, we drop this (chg !)
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    33
  extension in Mercurial 6.6. (chg !)
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    34
  $ hg phase --public .
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    35
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    36
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    37
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    38
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    39
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    40
  $ cd ..
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    41
  $ hg clone repo client -q
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    42
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    43
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    44
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    45
  extension in Mercurial 6.6.
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
    46
  $ hg clone repo client2 -q
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    47
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    48
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    49
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    50
  extension in Mercurial 6.6.
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
    51
  $ hg clone ssh://user@dummy/repo client3 -q
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    52
  remote: IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    53
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    54
  remote: unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    55
  remote: extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    56
  $ cd client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    57
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    58
Pushing a new commit from the client to the server
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    59
-----------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    60
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    61
  $ echo foobar > a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    62
  $ hg ci -Aqm "added a"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    63
  $ hg glog
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    64
  @  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    65
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    66
  o  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    67
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    68
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    69
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    70
  pushing to $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    71
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    72
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    73
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    74
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    75
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    76
  storing changesets on the bundlestore
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    77
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    78
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    79
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
    80
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    81
  pushing 1 commit:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    82
      6cb0989601f1  added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    83
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    84
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
    85
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    86
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    87
Understanding how data is stored on the bundlestore in server
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    88
-------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    89
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    90
There are two things, filebundlestore and index
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    91
  $ ls ../repo/.hg/scratchbranches
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    92
  filebundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    93
  index
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    94
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    95
filebundlestore stores the bundles
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
    96
  $ ls ../repo/.hg/scratchbranches/filebundlestore/3b/41/
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
    97
  3b414252ff8acab801318445d88ff48faf4a28c3
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    98
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    99
index/nodemap stores a map of node id and file in which bundle is stored in filebundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   100
  $ ls ../repo/.hg/scratchbranches/index/
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   101
  nodemap
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   102
  $ ls ../repo/.hg/scratchbranches/index/nodemap/
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   103
  6cb0989601f1fb5805238edfb16f3606713d9a0b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   104
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   105
  $ cd ../repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   106
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   107
Checking that the commit was not applied to revlog on the server
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   108
------------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   109
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   110
  $ hg glog
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   111
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   112
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   113
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   114
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   115
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   116
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   117
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   118
Applying the changeset from the bundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   119
--------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   120
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   121
  $ hg unbundle .hg/scratchbranches/filebundlestore/3b/41/3b414252ff8acab801318445d88ff48faf4a28c3
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   122
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   123
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   124
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   125
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   126
  adding changesets
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   127
  adding manifests
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   128
  adding file changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   129
  added 1 changesets with 1 changes to 1 files
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   130
  new changesets 6cb0989601f1
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   131
  (run 'hg update' to get a working copy)
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   132
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   133
  $ hg glog
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   134
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   135
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   136
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   137
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   138
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   139
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   140
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   141
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   142
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   143
Pushing more changesets from the local repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   144
--------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   145
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   146
  $ cd ../client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   147
  $ echo b > b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   148
  $ hg ci -Aqm "added b"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   149
  $ echo c > c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   150
  $ hg ci -Aqm "added c"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   151
  $ hg glog
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   152
  @  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   153
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   154
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   155
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   156
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   157
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   158
  o  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   159
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   160
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   161
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   162
  pushing to $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   163
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   164
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   165
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   166
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   167
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   168
  storing changesets on the bundlestore
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   169
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   170
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   171
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   172
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   173
  pushing 2 commits:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   174
      eaba929e866c  added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   175
      bf8a6e3011b3  added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   176
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   177
Checking that changesets are not applied on the server
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   178
------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   179
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   180
  $ hg glog -R ../repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   181
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   182
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   183
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   184
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   185
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   186
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   187
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   188
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   189
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   190
Both of the new changesets are stored in a single bundle-file
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   191
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   192
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   193
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 239585f5e61f0c09ce7106bdc1097bff731738f4
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   194
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 239585f5e61f0c09ce7106bdc1097bff731738f4
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   195
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   196
Pushing more changesets to the server
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   197
-------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   198
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   199
  $ echo d > d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   200
  $ hg ci -Aqm "added d"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   201
  $ echo e > e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   202
  $ hg ci -Aqm "added e"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   203
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   204
XXX: we should have pushed only the parts which are not in bundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   205
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   206
  pushing to $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   207
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   208
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   209
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   210
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   211
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   212
  storing changesets on the bundlestore
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   213
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   214
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   215
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   216
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   217
  pushing 4 commits:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   218
      eaba929e866c  added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   219
      bf8a6e3011b3  added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   220
      1bb96358eda2  added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   221
      b4e4bce66051  added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   222
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   223
Sneak peek into the bundlestore at the server
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   224
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   225
  1bb96358eda285b536c6d1c66846a7cdb2336cea 98fbae0016662521b0007da1b7bc349cd3caacd1
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   226
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   227
  b4e4bce660512ad3e71189e14588a70ac8e31fef 98fbae0016662521b0007da1b7bc349cd3caacd1
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   228
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 98fbae0016662521b0007da1b7bc349cd3caacd1
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   229
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 98fbae0016662521b0007da1b7bc349cd3caacd1
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   230
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   231
Checking if `hg pull` pulls something or `hg incoming` shows something
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   232
-----------------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   233
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   234
  $ hg incoming
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   235
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   236
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   237
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   238
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   239
  comparing with $TESTTMP/repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   240
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   241
  no changes found
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   242
  [1]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   243
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   244
  $ hg pull
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   245
  pulling from $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   246
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   247
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   248
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   249
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   250
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   251
  no changes found
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   252
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   253
Pulling from second client which is a localpeer to test `hg pull -r <rev>`
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   254
--------------------------------------------------------------------------
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   255
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   256
Pulling the revision which is applied
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   257
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   258
  $ cd ../client2
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   259
  $ hg pull -r 6cb0989601f1
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   260
  pulling from $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   261
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   262
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   263
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   264
  extension in Mercurial 6.6.
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   265
  searching for changes
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   266
  adding changesets
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   267
  adding manifests
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   268
  adding file changes
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   269
  added 1 changesets with 1 changes to 1 files
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   270
  new changesets 6cb0989601f1
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   271
  (run 'hg update' to get a working copy)
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   272
  $ hg glog
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   273
  o  1:6cb0989601f1 added a
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   274
  |  public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   275
  @  0:67145f466344 initialcommit
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   276
     public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   277
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   278
Pulling the revision which is in bundlestore
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   279
XXX: we should support pulling revisions from a local peers bundlestore without
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   280
client side wrapping
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   281
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   282
  $ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   283
  pulling from $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   284
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   285
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   286
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   287
  extension in Mercurial 6.6.
45906
95c4cca641f6 errors: remove trailing "!" from some error messages for consistency
Martin von Zweigbergk <martinvonz@google.com>
parents: 45771
diff changeset
   288
  abort: unknown revision 'b4e4bce660512ad3e71189e14588a70ac8e31fef'
48368
8c4881c07f57 errors: use detailed exit code for RepoLookupError
Martin von Zweigbergk <martinvonz@google.com>
parents: 47921
diff changeset
   289
  [10]
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   290
  $ hg glog
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   291
  o  1:6cb0989601f1 added a
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   292
  |  public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   293
  @  0:67145f466344 initialcommit
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   294
     public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   295
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   296
  $ cd ../client
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   297
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   298
Pulling from third client which is not a localpeer
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   299
---------------------------------------------------
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   300
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   301
Pulling the revision which is applied
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   302
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   303
  $ cd ../client3
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   304
  $ hg pull -r 6cb0989601f1
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   305
  pulling from ssh://user@dummy/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   306
  remote: IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   307
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   308
  remote: unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   309
  remote: extension in Mercurial 6.6.
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   310
  searching for changes
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   311
  adding changesets
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   312
  adding manifests
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   313
  adding file changes
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   314
  added 1 changesets with 1 changes to 1 files
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   315
  new changesets 6cb0989601f1
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   316
  (run 'hg update' to get a working copy)
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   317
  $ hg glog
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   318
  o  1:6cb0989601f1 added a
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   319
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   320
  @  0:67145f466344 initialcommit
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   321
     public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   322
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   323
Pulling the revision which is in bundlestore
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   324
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   325
Trying to specify short hash
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   326
XXX: we should support this
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   327
  $ hg pull -r b4e4bce660512
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   328
  pulling from ssh://user@dummy/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   329
  remote: IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   330
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   331
  remote: unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   332
  remote: extension in Mercurial 6.6.
45906
95c4cca641f6 errors: remove trailing "!" from some error messages for consistency
Martin von Zweigbergk <martinvonz@google.com>
parents: 45771
diff changeset
   333
  abort: unknown revision 'b4e4bce660512'
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   334
  [255]
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   335
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   336
XXX: we should show better message when the pull is happening from bundlestore
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   337
  $ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   338
  pulling from ssh://user@dummy/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   339
  remote: IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   340
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   341
  remote: unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   342
  remote: extension in Mercurial 6.6.
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   343
  searching for changes
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   344
  remote: IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   345
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   346
  remote: unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   347
  remote: extension in Mercurial 6.6.
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   348
  adding changesets
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   349
  adding manifests
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   350
  adding file changes
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   351
  added 4 changesets with 4 changes to 4 files
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   352
  new changesets eaba929e866c:b4e4bce66051
44667
b561f3a68e41 discovery: avoid wrongly saying there are nothing to pull
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 39480
diff changeset
   353
  (run 'hg update' to get a working copy)
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   354
  $ hg glog
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   355
  o  5:b4e4bce66051 added e
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   356
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   357
  o  4:1bb96358eda2 added d
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   358
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   359
  o  3:bf8a6e3011b3 added c
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   360
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   361
  o  2:eaba929e866c added b
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   362
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   363
  o  1:6cb0989601f1 added a
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   364
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   365
  @  0:67145f466344 initialcommit
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   366
     public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   367
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   368
  $ cd ../client
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   369
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   370
Checking storage of phase information with the bundle on bundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   371
---------------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   372
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   373
creating a draft commit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   374
  $ cat >> $HGRCPATH <<EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   375
  > [phases]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   376
  > publish = False
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   377
  > EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   378
  $ echo f > f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   379
  $ hg ci -Aqm "added f"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   380
  $ hg glog -r '.^::'
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   381
  @  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   382
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   383
  o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   384
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   385
  ~
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   386
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   387
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   388
  pushing to $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   389
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   390
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   391
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   392
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   393
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   394
  storing changesets on the bundlestore
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   395
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   396
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   397
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   398
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   399
  pushing 5 commits:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   400
      eaba929e866c  added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   401
      bf8a6e3011b3  added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   402
      1bb96358eda2  added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   403
      b4e4bce66051  added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   404
      9b42578d4447  added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   405
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   406
XXX: the phase of 9b42578d4447 should not be changed here
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   407
  $ hg glog -r .
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   408
  @  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   409
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   410
  ~
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   411
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   412
applying the bundle on the server to check preservation of phase-information
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   413
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   414
  $ cd ../repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   415
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   416
  1bb96358eda285b536c6d1c66846a7cdb2336cea 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   417
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   418
  9b42578d44473575994109161430d65dd147d16d 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   419
  b4e4bce660512ad3e71189e14588a70ac8e31fef 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   420
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   421
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 280a46a259a268f0e740c81c5a7751bdbfaec85f
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   422
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   423
  $ hg unbundle .hg/scratchbranches/filebundlestore/28/0a/280a46a259a268f0e740c81c5a7751bdbfaec85f
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   424
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   425
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   426
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   427
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   428
  adding changesets
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   429
  adding manifests
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   430
  adding file changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   431
  added 5 changesets with 5 changes to 5 files
39480
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 37561
diff changeset
   432
  new changesets eaba929e866c:9b42578d4447 (1 drafts)
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   433
  (run 'hg update' to get a working copy)
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   434
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   435
  $ hg glog
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   436
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   437
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   438
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   439
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   440
  o  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   441
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   442
  o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   443
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   444
  o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   445
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   446
  o  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   447
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   448
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   449
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   450
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   451
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   452
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   453
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   454
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   455
Checking storage of obsmarkers in the bundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   456
--------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   457
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   458
enabling obsmarkers and rebase extension
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   459
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   460
  $ cat >> $HGRCPATH << EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   461
  > [experimental]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   462
  > evolution = all
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   463
  > [extensions]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   464
  > rebase =
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   465
  > EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   466
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   467
  $ cd ../client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   468
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   469
  $ hg phase -r . --draft --force
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   470
  $ hg rebase -r 6 -d 3
45771
f90a5c211251 rebase: change and standarize template for rebase's one-line summary
Martin von Zweigbergk <martinvonz@google.com>
parents: 44729
diff changeset
   471
  rebasing 6:9b42578d4447 tip "added f"
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   472
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   473
  $ hg glog
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   474
  @  7:99949238d9ac added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   475
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   476
  | o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   477
  | |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   478
  | o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   479
  |/   public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   480
  o  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   481
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   482
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   483
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   484
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   485
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   486
  o  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   487
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   488
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   489
  $ hg push -f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   490
  pushing to $TESTTMP/repo
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   491
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   492
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   493
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   494
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   495
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   496
  storing changesets on the bundlestore
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   497
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   498
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   499
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   500
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   501
  pushing 1 commit:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   502
      99949238d9ac  added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   503
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   504
XXX: the phase should not have changed here
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   505
  $ hg glog -r .
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   506
  @  7:99949238d9ac added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   507
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   508
  ~
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   509
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   510
Unbundling on server to see obsmarkers being applied
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   511
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   512
  $ cd ../repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   513
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   514
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   515
  1bb96358eda285b536c6d1c66846a7cdb2336cea 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   516
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   517
  99949238d9ac7f2424a33a46dface6f866afd059 090a24fe63f31d3b4bee714447f835c8c362ff57
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   518
  9b42578d44473575994109161430d65dd147d16d 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   519
  b4e4bce660512ad3e71189e14588a70ac8e31fef 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   520
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   521
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 280a46a259a268f0e740c81c5a7751bdbfaec85f
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   522
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   523
  $ hg glog
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   524
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   525
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   526
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   527
  extension in Mercurial 6.6.
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   528
  IMPORTANT: if you use this extension, please contact (chg !)
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   529
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be (chg !)
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   530
  unused and barring learning of users of this functionality, we drop this (chg !)
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   531
  extension in Mercurial 6.6. (chg !)
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   532
  o  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   533
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   534
  o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   535
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   536
  o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   537
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   538
  o  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   539
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   540
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   541
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   542
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   543
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   544
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   545
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   546
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   547
  $ hg unbundle .hg/scratchbranches/filebundlestore/09/0a/090a24fe63f31d3b4bee714447f835c8c362ff57
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   548
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   549
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   550
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   551
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   552
  adding changesets
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   553
  adding manifests
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   554
  adding file changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   555
  added 1 changesets with 0 changes to 1 files (+1 heads)
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   556
  1 new obsolescence markers
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   557
  obsoleted 1 changesets
39480
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 37561
diff changeset
   558
  new changesets 99949238d9ac (1 drafts)
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   559
  (run 'hg heads' to see heads, 'hg merge' to merge)
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   560
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   561
  $ hg glog
50704
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   562
  IMPORTANT: if you use this extension, please contact
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   563
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   564
  unused and barring learning of users of this functionality, we drop this
68c4f8f3c9f4 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 50685
diff changeset
   565
  extension in Mercurial 6.6.
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   566
  o  7:99949238d9ac added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   567
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   568
  | o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   569
  | |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   570
  | o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   571
  |/   public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   572
  o  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   573
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   574
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   575
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   576
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   577
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   578
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   579
     public