tests/test-infinitepush-ci.t
author pierre-yves.david@ens-lyon.org
Mon, 19 Jun 2023 23:27:18 +0200
changeset 50684 db9b6ce803a9
parent 48368 8c4881c07f57
child 50685 b9a355763e76
permissions -rw-r--r--
infinitepush: aggressively deprecated infinite push We add a large warning and an explicit abort. Both can be disable through config, but neither are explicitly documented. If any user exists I really want them to get in touch with the community.
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
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    22
  $ echo "[infinitepush]" >> .hg/hgrc
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
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"
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    26
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    27
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    28
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    29
  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
    30
  $ hg phase --public .
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    31
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    32
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    33
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    34
  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
    35
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    36
  $ cd ..
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    37
  $ hg clone repo client -q
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    38
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    39
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    40
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    41
  extension in Mercurial 6.6.
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
    42
  $ hg clone repo client2 -q
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    43
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    44
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    45
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    46
  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
    47
  $ hg clone ssh://user@dummy/repo client3 -q
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    48
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    49
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    50
  remote: unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    51
  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
    52
  $ cd client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    53
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    54
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
    55
-----------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    56
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    57
  $ echo foobar > a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    58
  $ hg ci -Aqm "added a"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    59
  $ hg glog
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    60
  @  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    61
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    62
  o  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    63
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    64
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    65
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    66
  pushing to $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    67
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    68
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    69
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    70
  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
    71
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    72
  storing changesets on the bundlestore
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    73
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    74
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    75
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
    76
  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
    77
  pushing 1 commit:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    78
      6cb0989601f1  added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    79
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    80
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
    81
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    82
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    83
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
    84
-------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    85
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    86
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
    87
  $ ls ../repo/.hg/scratchbranches
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    88
  filebundlestore
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    89
  index
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    90
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    91
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
    92
  $ 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
    93
  3b414252ff8acab801318445d88ff48faf4a28c3
37206
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
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
    96
  $ ls ../repo/.hg/scratchbranches/index/
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    97
  nodemap
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    98
  $ 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
    99
  6cb0989601f1fb5805238edfb16f3606713d9a0b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   100
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   101
  $ cd ../repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   102
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   103
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
   104
------------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   105
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   106
  $ hg glog
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   107
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   108
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   109
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   110
  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
   111
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   112
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   113
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   114
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
   115
--------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   116
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   117
  $ hg unbundle .hg/scratchbranches/filebundlestore/3b/41/3b414252ff8acab801318445d88ff48faf4a28c3
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   118
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   119
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   120
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   121
  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
   122
  adding changesets
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   123
  adding manifests
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   124
  adding file changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   125
  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
   126
  new changesets 6cb0989601f1
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   127
  (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
   128
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   129
  $ hg glog
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   130
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   131
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   132
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   133
  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
   134
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   135
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   136
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   137
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   138
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   139
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
   140
--------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   141
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   142
  $ cd ../client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   143
  $ echo b > b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   144
  $ hg ci -Aqm "added b"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   145
  $ echo c > c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   146
  $ hg ci -Aqm "added c"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   147
  $ hg glog
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   148
  @  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   149
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   150
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   151
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   152
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   153
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   154
  o  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   155
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   156
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   157
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   158
  pushing to $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   159
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   160
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   161
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   162
  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
   163
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   164
  storing changesets on the bundlestore
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   165
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   166
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   167
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   168
  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
   169
  pushing 2 commits:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   170
      eaba929e866c  added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   171
      bf8a6e3011b3  added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   172
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   173
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
   174
------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   175
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   176
  $ hg glog -R ../repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   177
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   178
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   179
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   180
  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
   181
  o  1:6cb0989601f1 added a
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   182
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   183
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   184
     public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   185
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   186
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
   187
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   188
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   189
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 239585f5e61f0c09ce7106bdc1097bff731738f4
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   190
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 239585f5e61f0c09ce7106bdc1097bff731738f4
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   191
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   192
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
   193
-------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   194
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   195
  $ echo d > d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   196
  $ hg ci -Aqm "added d"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   197
  $ echo e > e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   198
  $ hg ci -Aqm "added e"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   199
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   200
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
   201
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   202
  pushing to $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   203
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   204
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   205
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   206
  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
   207
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   208
  storing changesets on the bundlestore
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   209
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   210
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   211
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   212
  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
   213
  pushing 4 commits:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   214
      eaba929e866c  added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   215
      bf8a6e3011b3  added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   216
      1bb96358eda2  added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   217
      b4e4bce66051  added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   218
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   219
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
   220
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   221
  1bb96358eda285b536c6d1c66846a7cdb2336cea 98fbae0016662521b0007da1b7bc349cd3caacd1
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   222
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   223
  b4e4bce660512ad3e71189e14588a70ac8e31fef 98fbae0016662521b0007da1b7bc349cd3caacd1
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   224
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 98fbae0016662521b0007da1b7bc349cd3caacd1
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   225
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 98fbae0016662521b0007da1b7bc349cd3caacd1
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   226
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   227
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
   228
-----------------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   229
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   230
  $ hg incoming
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   231
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   232
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   233
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   234
  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
   235
  comparing with $TESTTMP/repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   236
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   237
  no changes found
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   238
  [1]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   239
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   240
  $ hg pull
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   241
  pulling from $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   242
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   243
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   244
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   245
  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
   246
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   247
  no changes found
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   248
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   249
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
   250
--------------------------------------------------------------------------
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   251
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   252
Pulling the revision which is applied
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   253
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   254
  $ cd ../client2
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   255
  $ hg pull -r 6cb0989601f1
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   256
  pulling from $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   257
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   258
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   259
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   260
  extension in Mercurial 6.6.
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   261
  searching for changes
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   262
  adding changesets
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   263
  adding manifests
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   264
  adding file changes
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   265
  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
   266
  new changesets 6cb0989601f1
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   267
  (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
   268
  $ hg glog
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   269
  o  1:6cb0989601f1 added a
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   270
  |  public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   271
  @  0:67145f466344 initialcommit
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   272
     public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   273
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   274
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
   275
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
   276
client side wrapping
37240
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
  $ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   279
  pulling from $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   280
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   281
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   282
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   283
  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
   284
  abort: unknown revision 'b4e4bce660512ad3e71189e14588a70ac8e31fef'
48368
8c4881c07f57 errors: use detailed exit code for RepoLookupError
Martin von Zweigbergk <martinvonz@google.com>
parents: 47921
diff changeset
   285
  [10]
37240
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   286
  $ hg glog
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   287
  o  1:6cb0989601f1 added a
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   288
  |  public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   289
  @  0:67145f466344 initialcommit
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   290
     public
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   291
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   292
  $ cd ../client
b5caa13d1a73 infinitepush: add tests for `hg pull -r <rev>`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37206
diff changeset
   293
37561
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   294
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
   295
---------------------------------------------------
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   296
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   297
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
   298
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   299
  $ cd ../client3
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   300
  $ hg pull -r 6cb0989601f1
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   301
  pulling from ssh://user@dummy/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   302
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   303
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   304
  remote: unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   305
  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
   306
  searching for changes
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   307
  adding changesets
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   308
  adding manifests
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   309
  adding file changes
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   310
  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
   311
  new changesets 6cb0989601f1
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   312
  (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
   313
  $ hg glog
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   314
  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
   315
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   316
  @  0:67145f466344 initialcommit
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   317
     public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   318
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   319
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
   320
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   321
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
   322
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
   323
  $ hg pull -r b4e4bce660512
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   324
  pulling from ssh://user@dummy/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   325
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   326
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   327
  remote: unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   328
  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
   329
  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
   330
  [255]
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   331
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   332
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
   333
  $ hg pull -r b4e4bce660512ad3e71189e14588a70ac8e31fef
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   334
  pulling from ssh://user@dummy/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   335
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   336
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   337
  remote: unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   338
  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
   339
  searching for changes
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   340
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   341
  remote: mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   342
  remote: unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   343
  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
   344
  adding changesets
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   345
  adding manifests
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   346
  adding file changes
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   347
  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
   348
  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
   349
  (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
   350
  $ hg glog
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   351
  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
   352
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   353
  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
   354
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   355
  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
   356
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   357
  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
   358
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   359
  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
   360
  |  public
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   361
  @  0:67145f466344 initialcommit
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
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   364
  $ cd ../client
8478b198af9c tests: add tests showing pulling from infinitepush works over wire
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37379
diff changeset
   365
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   366
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
   367
---------------------------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   368
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   369
creating a draft commit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   370
  $ cat >> $HGRCPATH <<EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   371
  > [phases]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   372
  > publish = False
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   373
  > EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   374
  $ echo f > f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   375
  $ hg ci -Aqm "added f"
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   376
  $ hg glog -r '.^::'
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   377
  @  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   378
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   379
  o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   380
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   381
  ~
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   382
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   383
  $ hg push
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   384
  pushing to $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   385
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   386
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   387
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   388
  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
   389
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   390
  storing changesets on the bundlestore
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   391
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   392
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   393
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   394
  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
   395
  pushing 5 commits:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   396
      eaba929e866c  added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   397
      bf8a6e3011b3  added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   398
      1bb96358eda2  added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   399
      b4e4bce66051  added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   400
      9b42578d4447  added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   401
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   402
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
   403
  $ hg glog -r .
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   404
  @  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   405
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   406
  ~
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   407
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   408
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
   409
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   410
  $ cd ../repo
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   411
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   412
  1bb96358eda285b536c6d1c66846a7cdb2336cea 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   413
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   414
  9b42578d44473575994109161430d65dd147d16d 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   415
  b4e4bce660512ad3e71189e14588a70ac8e31fef 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   416
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   417
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 280a46a259a268f0e740c81c5a7751bdbfaec85f
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   418
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   419
  $ hg unbundle .hg/scratchbranches/filebundlestore/28/0a/280a46a259a268f0e740c81c5a7751bdbfaec85f
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   420
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   421
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   422
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   423
  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
   424
  adding changesets
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   425
  adding manifests
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   426
  adding file changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   427
  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
   428
  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
   429
  (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
   430
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   431
  $ hg glog
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   432
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   433
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   434
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   435
  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
   436
  o  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   437
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   438
  o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   439
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   440
  o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   441
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   442
  o  3:bf8a6e3011b3 added c
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  2:eaba929e866c added b
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  1:6cb0989601f1 added a
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
  @  0:67145f466344 initialcommit
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
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   451
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
   452
--------------------------------------------------
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   453
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   454
enabling obsmarkers and rebase extension
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   455
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   456
  $ cat >> $HGRCPATH << EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   457
  > [experimental]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   458
  > evolution = all
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   459
  > [extensions]
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   460
  > rebase =
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   461
  > EOF
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   462
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   463
  $ cd ../client
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   464
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   465
  $ hg phase -r . --draft --force
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   466
  $ 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
   467
  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
   468
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   469
  $ hg glog
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   470
  @  7:99949238d9ac added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   471
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   472
  | o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   473
  | |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   474
  | o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   475
  |/   public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   476
  o  3:bf8a6e3011b3 added c
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  2:eaba929e866c added b
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  1:6cb0989601f1 added a
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  0:67145f466344 initialcommit
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
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   485
  $ hg push -f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   486
  pushing to $TESTTMP/repo
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   487
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   488
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   489
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   490
  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
   491
  searching for changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   492
  storing changesets on the bundlestore
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   493
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   494
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   495
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   496
  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
   497
  pushing 1 commit:
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   498
      99949238d9ac  added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   499
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   500
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
   501
  $ hg glog -r .
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   502
  @  7:99949238d9ac added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   503
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   504
  ~
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   505
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   506
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
   507
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   508
  $ cd ../repo
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
  $ scratchnodes
44412
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   511
  1bb96358eda285b536c6d1c66846a7cdb2336cea 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   512
  6cb0989601f1fb5805238edfb16f3606713d9a0b 3b414252ff8acab801318445d88ff48faf4a28c3
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   513
  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
   514
  9b42578d44473575994109161430d65dd147d16d 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   515
  b4e4bce660512ad3e71189e14588a70ac8e31fef 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   516
  bf8a6e3011b345146bbbedbcb1ebd4837571492a 280a46a259a268f0e740c81c5a7751bdbfaec85f
edc8504bc26b exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents: 39480
diff changeset
   517
  eaba929e866c59bc9a6aada5a9dd2f6990db83c0 280a46a259a268f0e740c81c5a7751bdbfaec85f
37206
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   518
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   519
  $ hg glog
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   520
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   521
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   522
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   523
  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
   524
  o  6:9b42578d4447 added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   525
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   526
  o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   527
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   528
  o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   529
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   530
  o  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   531
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   532
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   533
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   534
  o  1:6cb0989601f1 added a
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
  @  0:67145f466344 initialcommit
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
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   539
  $ hg unbundle .hg/scratchbranches/filebundlestore/09/0a/090a24fe63f31d3b4bee714447f835c8c362ff57
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   540
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   541
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   542
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   543
  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
   544
  adding changesets
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   545
  adding manifests
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   546
  adding file changes
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   547
  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
   548
  1 new obsolescence markers
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   549
  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
   550
  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
   551
  (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
   552
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   553
  $ hg glog
50684
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   554
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   555
  mercurial-devel@mercurial-scm.org IMMEDIATELY. This extension is believed to be
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   556
  unused and barring learning of users of this functionality, we drop this
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 48368
diff changeset
   557
  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
   558
  o  7:99949238d9ac added f
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   559
  |  draft
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   560
  | o  5:b4e4bce66051 added e
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   561
  | |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   562
  | o  4:1bb96358eda2 added d
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   563
  |/   public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   564
  o  3:bf8a6e3011b3 added c
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   565
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   566
  o  2:eaba929e866c added b
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   567
  |  public
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   568
  o  1:6cb0989601f1 added a
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
  @  0:67145f466344 initialcommit
571f25dae740 infinitepush: introduce server option to route every push to bundlestore
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   571
     public