tests/test-infinitepush.t
author pierre-yves.david@ens-lyon.org
Mon, 19 Jun 2023 23:27:18 +0200
changeset 50692 db9b6ce803a9
parent 49887 e1953a34c110
child 50693 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:
47587
be496e3489b9 tests: blacklist a handful of test with `rhg` or `chg`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42903
diff changeset
     1
#require no-reposimplestore no-chg
be496e3489b9 tests: blacklist a handful of test with `rhg` or `chg`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42903
diff changeset
     2
be496e3489b9 tests: blacklist a handful of test with `rhg` or `chg`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42903
diff changeset
     3
XXX-CHG this test hangs if `hg` is really `chg`. This was hidden by the use of
be496e3489b9 tests: blacklist a handful of test with `rhg` or `chg`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42903
diff changeset
     4
`alias hg=chg` by run-tests.py. With such alias removed, this test is revealed
be496e3489b9 tests: blacklist a handful of test with `rhg` or `chg`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42903
diff changeset
     5
buggy. This need to be resolved sooner than later.
be496e3489b9 tests: blacklist a handful of test with `rhg` or `chg`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 42903
diff changeset
     6
37379
24c7428983c5 tests: disable infinitepush tests for simple store
Gregory Szorc <gregory.szorc@gmail.com>
parents: 37204
diff changeset
     7
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     8
Testing infinipush extension and the confi options provided by it
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
     9
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    10
Setup
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    11
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    12
  $ . "$TESTDIR/library-infinitepush.sh"
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    13
  $ cp $HGRCPATH $TESTTMP/defaulthgrc
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    14
  $ setupcommon
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    15
  $ hg init repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    16
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    17
  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: 49887
diff changeset
    18
  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: 49887
diff changeset
    19
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    20
  $ cd repo
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    21
  $ setupserver
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    22
  $ echo initialcommit > initialcommit
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    23
  $ hg ci -Aqm "initialcommit"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    24
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    25
  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: 49887
diff changeset
    26
  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: 49887
diff changeset
    27
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    28
  $ hg phase --public .
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    29
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    30
  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: 49887
diff changeset
    31
  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: 49887
diff changeset
    32
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    33
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    34
  $ cd ..
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    35
  $ hg clone ssh://user@dummy/repo client -q
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    36
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    37
  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: 49887
diff changeset
    38
  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: 49887
diff changeset
    39
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    40
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    41
  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: 49887
diff changeset
    42
  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: 49887
diff changeset
    43
  extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    44
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    45
  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: 49887
diff changeset
    46
  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: 49887
diff changeset
    47
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    48
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    49
Create two heads. Push first head alone, then two heads together. Make sure that
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    50
multihead push works.
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    51
  $ cd client
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    52
  $ echo multihead1 > multihead1
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    53
  $ hg add multihead1
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    54
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    55
  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: 49887
diff changeset
    56
  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: 49887
diff changeset
    57
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    58
  $ hg ci -m "multihead1"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    59
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    60
  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: 49887
diff changeset
    61
  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: 49887
diff changeset
    62
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    63
  $ hg up null
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    64
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    65
  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: 49887
diff changeset
    66
  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: 49887
diff changeset
    67
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    68
  0 files updated, 0 files merged, 2 files removed, 0 files unresolved
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    69
  $ echo multihead2 > multihead2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    70
  $ hg ci -Am "multihead2"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    71
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    72
  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: 49887
diff changeset
    73
  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: 49887
diff changeset
    74
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    75
  adding multihead2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    76
  created new head
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    77
  $ hg push -r . --bundle-store
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    78
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    79
  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: 49887
diff changeset
    80
  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: 49887
diff changeset
    81
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    82
  pushing to ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    83
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    84
  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: 49887
diff changeset
    85
  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: 49887
diff changeset
    86
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    87
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    88
  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: 49887
diff changeset
    89
  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: 49887
diff changeset
    90
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    91
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    92
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    93
  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: 49887
diff changeset
    94
  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: 49887
diff changeset
    95
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    96
  remote: pushing 1 commit:
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    97
  remote:     ee4802bf6864  multihead2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
    98
  $ hg push -r '1:2' --bundle-store
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
    99
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   100
  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: 49887
diff changeset
   101
  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: 49887
diff changeset
   102
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   103
  pushing to ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   104
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   105
  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: 49887
diff changeset
   106
  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: 49887
diff changeset
   107
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   108
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   109
  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: 49887
diff changeset
   110
  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: 49887
diff changeset
   111
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   112
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   113
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   114
  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: 49887
diff changeset
   115
  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: 49887
diff changeset
   116
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   117
  remote: pushing 2 commits:
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   118
  remote:     bc22f9a30a82  multihead1
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   119
  remote:     ee4802bf6864  multihead2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   120
  $ scratchnodes
49887
e1953a34c110 bundle: emit full snapshot as is, without doing a redelta
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47587
diff changeset
   121
  bc22f9a30a821118244deacbd732e394ed0b686c de1b7d132ba98f0172cd974e3e69dfa80faa335c
e1953a34c110 bundle: emit full snapshot as is, without doing a redelta
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 47587
diff changeset
   122
  ee4802bf6864326a6b3dcfff5a03abc2a0a69b8f de1b7d132ba98f0172cd974e3e69dfa80faa335c
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   123
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   124
Create two new scratch bookmarks
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   125
  $ hg up 0
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   126
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   127
  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: 49887
diff changeset
   128
  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: 49887
diff changeset
   129
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   130
  1 files updated, 0 files merged, 1 files removed, 0 files unresolved
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   131
  $ echo scratchfirstpart > scratchfirstpart
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   132
  $ hg ci -Am "scratchfirstpart"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   133
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   134
  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: 49887
diff changeset
   135
  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: 49887
diff changeset
   136
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   137
  adding scratchfirstpart
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   138
  created new head
37201
c5687ce3b411 infinitepush: drop the `--to` flag to push and use `-B` instead
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37200
diff changeset
   139
  $ hg push -r . -B scratch/firstpart
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   140
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   141
  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: 49887
diff changeset
   142
  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: 49887
diff changeset
   143
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   144
  pushing to ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   145
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   146
  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: 49887
diff changeset
   147
  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: 49887
diff changeset
   148
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   149
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   150
  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: 49887
diff changeset
   151
  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: 49887
diff changeset
   152
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   153
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   154
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   155
  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: 49887
diff changeset
   156
  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: 49887
diff changeset
   157
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   158
  remote: pushing 1 commit:
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   159
  remote:     176993b87e39  scratchfirstpart
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   160
  $ hg up 0
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   161
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   162
  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: 49887
diff changeset
   163
  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: 49887
diff changeset
   164
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   165
  0 files updated, 0 files merged, 1 files removed, 0 files unresolved
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   166
  $ echo scratchsecondpart > scratchsecondpart
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   167
  $ hg ci -Am "scratchsecondpart"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   168
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   169
  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: 49887
diff changeset
   170
  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: 49887
diff changeset
   171
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   172
  adding scratchsecondpart
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   173
  created new head
37201
c5687ce3b411 infinitepush: drop the `--to` flag to push and use `-B` instead
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37200
diff changeset
   174
  $ hg push -r . -B scratch/secondpart
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   175
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   176
  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: 49887
diff changeset
   177
  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: 49887
diff changeset
   178
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   179
  pushing to ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   180
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   181
  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: 49887
diff changeset
   182
  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: 49887
diff changeset
   183
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   184
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   185
  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: 49887
diff changeset
   186
  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: 49887
diff changeset
   187
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   188
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   189
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   190
  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: 49887
diff changeset
   191
  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: 49887
diff changeset
   192
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   193
  remote: pushing 1 commit:
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   194
  remote:     8db3891c220e  scratchsecondpart
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   195
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   196
Pull two bookmarks from the second client
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   197
  $ cd ..
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   198
  $ hg clone ssh://user@dummy/repo client2 -q
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   199
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   200
  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: 49887
diff changeset
   201
  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: 49887
diff changeset
   202
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   203
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
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: 49887
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: 49887
diff changeset
   206
  extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   207
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   208
  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: 49887
diff changeset
   209
  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: 49887
diff changeset
   210
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   211
  $ cd client2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   212
  $ hg pull -B scratch/firstpart -B scratch/secondpart
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   213
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   214
  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: 49887
diff changeset
   215
  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: 49887
diff changeset
   216
  extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   217
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   218
  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: 49887
diff changeset
   219
  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: 49887
diff changeset
   220
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   221
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   222
  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: 49887
diff changeset
   223
  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: 49887
diff changeset
   224
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   225
  pulling from ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   226
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   227
  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: 49887
diff changeset
   228
  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: 49887
diff changeset
   229
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   230
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   231
  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: 49887
diff changeset
   232
  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: 49887
diff changeset
   233
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   234
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   235
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   236
  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: 49887
diff changeset
   237
  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: 49887
diff changeset
   238
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   239
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   240
  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: 49887
diff changeset
   241
  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: 49887
diff changeset
   242
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   243
  adding changesets
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   244
  adding manifests
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   245
  adding file changes
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   246
  adding changesets
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   247
  adding manifests
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   248
  adding file changes
42903
d7304434390f changegroup: move message about added changes to transaction summary
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 39497
diff changeset
   249
  added 2 changesets with 2 changes to 2 files (+1 heads)
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   250
  new changesets * (glob)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   251
  (run 'hg heads' to see heads, 'hg merge' to merge)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   252
  $ hg log -r scratch/secondpart -T '{node}'
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   253
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   254
  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: 49887
diff changeset
   255
  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: 49887
diff changeset
   256
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   257
  8db3891c220e216f6da214e8254bd4371f55efca (no-eol)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   258
  $ hg log -r scratch/firstpart -T '{node}'
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   259
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   260
  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: 49887
diff changeset
   261
  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: 49887
diff changeset
   262
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   263
  176993b87e39bd88d66a2cccadabe33f0b346339 (no-eol)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   264
Make two commits to the scratch branch
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   265
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   266
  $ echo testpullbycommithash1 > testpullbycommithash1
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   267
  $ hg ci -Am "testpullbycommithash1"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   268
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   269
  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: 49887
diff changeset
   270
  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: 49887
diff changeset
   271
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   272
  adding testpullbycommithash1
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   273
  created new head
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   274
  $ hg log -r '.' -T '{node}\n' > ../testpullbycommithash1
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   275
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   276
  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: 49887
diff changeset
   277
  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: 49887
diff changeset
   278
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   279
  $ echo testpullbycommithash2 > testpullbycommithash2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   280
  $ hg ci -Aqm "testpullbycommithash2"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   281
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   282
  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: 49887
diff changeset
   283
  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: 49887
diff changeset
   284
  extension in Mercurial 6.6.
37201
c5687ce3b411 infinitepush: drop the `--to` flag to push and use `-B` instead
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37200
diff changeset
   285
  $ hg push -r . -B scratch/mybranch -q
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   286
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   287
  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: 49887
diff changeset
   288
  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: 49887
diff changeset
   289
  extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   290
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   291
  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: 49887
diff changeset
   292
  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: 49887
diff changeset
   293
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   294
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   295
  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: 49887
diff changeset
   296
  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: 49887
diff changeset
   297
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   298
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   299
Create third client and pull by commit hash.
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   300
Make sure testpullbycommithash2 has not fetched
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   301
  $ cd ..
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   302
  $ hg clone ssh://user@dummy/repo client3 -q
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   303
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   304
  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: 49887
diff changeset
   305
  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: 49887
diff changeset
   306
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   307
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   308
  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: 49887
diff changeset
   309
  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: 49887
diff changeset
   310
  extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   311
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   312
  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: 49887
diff changeset
   313
  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: 49887
diff changeset
   314
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   315
  $ cd client3
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   316
  $ hg pull -r `cat ../testpullbycommithash1`
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   317
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   318
  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: 49887
diff changeset
   319
  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: 49887
diff changeset
   320
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   321
  pulling from ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   322
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   323
  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: 49887
diff changeset
   324
  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: 49887
diff changeset
   325
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   326
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   327
  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: 49887
diff changeset
   328
  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: 49887
diff changeset
   329
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   330
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   331
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   332
  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: 49887
diff changeset
   333
  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: 49887
diff changeset
   334
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   335
  adding changesets
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   336
  adding manifests
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   337
  adding file changes
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   338
  added 1 changesets with 1 changes to 1 files
39497
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 37379
diff changeset
   339
  new changesets 33910bfe6ffe (1 drafts)
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   340
  (run 'hg update' to get a working copy)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   341
  $ hg log -G -T '{desc} {phase} {bookmarks}'
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   342
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   343
  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: 49887
diff changeset
   344
  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: 49887
diff changeset
   345
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   346
  o  testpullbycommithash1 draft
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   347
  |
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   348
  @  initialcommit public
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   349
  
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   350
Make public commit in the repo and pull it.
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   351
Make sure phase on the client is public.
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   352
  $ cd ../repo
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   353
  $ echo publiccommit > publiccommit
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   354
  $ hg ci -Aqm "publiccommit"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   355
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   356
  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: 49887
diff changeset
   357
  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: 49887
diff changeset
   358
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   359
  $ hg phase --public .
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   360
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   361
  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: 49887
diff changeset
   362
  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: 49887
diff changeset
   363
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   364
  $ cd ../client3
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   365
  $ hg pull
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   366
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   367
  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: 49887
diff changeset
   368
  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: 49887
diff changeset
   369
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   370
  pulling from ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   371
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   372
  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: 49887
diff changeset
   373
  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: 49887
diff changeset
   374
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   375
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   376
  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: 49887
diff changeset
   377
  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: 49887
diff changeset
   378
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   379
  searching for changes
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   380
  adding changesets
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   381
  adding manifests
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   382
  adding file changes
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   383
  added 1 changesets with 1 changes to 1 files (+1 heads)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   384
  new changesets a79b6597f322
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   385
  (run 'hg heads' to see heads, 'hg merge' to merge)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   386
  $ hg log -G -T '{desc} {phase} {bookmarks} {node|short}'
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   387
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   388
  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: 49887
diff changeset
   389
  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: 49887
diff changeset
   390
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   391
  o  publiccommit public  a79b6597f322
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   392
  |
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   393
  | o  testpullbycommithash1 draft  33910bfe6ffe
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   394
  |/
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   395
  @  initialcommit public  67145f466344
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   396
  
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   397
  $ hg up a79b6597f322
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   398
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   399
  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: 49887
diff changeset
   400
  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: 49887
diff changeset
   401
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   402
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   403
  $ echo scratchontopofpublic > scratchontopofpublic
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   404
  $ hg ci -Aqm "scratchontopofpublic"
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   405
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   406
  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: 49887
diff changeset
   407
  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: 49887
diff changeset
   408
  extension in Mercurial 6.6.
37201
c5687ce3b411 infinitepush: drop the `--to` flag to push and use `-B` instead
Pulkit Goyal <7895pulkit@gmail.com>
parents: 37200
diff changeset
   409
  $ hg push -r . -B scratch/scratchontopofpublic
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   410
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   411
  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: 49887
diff changeset
   412
  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: 49887
diff changeset
   413
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   414
  pushing to ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   415
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   416
  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: 49887
diff changeset
   417
  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: 49887
diff changeset
   418
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   419
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   420
  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: 49887
diff changeset
   421
  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: 49887
diff changeset
   422
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   423
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   424
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   425
  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: 49887
diff changeset
   426
  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: 49887
diff changeset
   427
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   428
  remote: pushing 1 commit:
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   429
  remote:     c70aee6da07d  scratchontopofpublic
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   430
  $ cd ../client2
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   431
  $ hg pull -B scratch/scratchontopofpublic
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   432
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
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: 49887
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: 49887
diff changeset
   435
  extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   436
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   437
  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: 49887
diff changeset
   438
  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: 49887
diff changeset
   439
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   440
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   441
  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: 49887
diff changeset
   442
  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: 49887
diff changeset
   443
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   444
  pulling from ssh://user@dummy/repo
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   445
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   446
  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: 49887
diff changeset
   447
  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: 49887
diff changeset
   448
  remote: extension in Mercurial 6.6.
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   449
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   450
  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: 49887
diff changeset
   451
  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: 49887
diff changeset
   452
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   453
  searching for changes
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   454
  remote: IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   455
  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: 49887
diff changeset
   456
  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: 49887
diff changeset
   457
  remote: extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   458
  adding changesets
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   459
  adding manifests
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   460
  adding file changes
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   461
  adding changesets
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   462
  adding manifests
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   463
  adding file changes
42903
d7304434390f changegroup: move message about added changes to transaction summary
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 39497
diff changeset
   464
  added 2 changesets with 2 changes to 2 files (+1 heads)
39497
89630d0b3e23 phase: report number of non-public changeset alongside the new range
Boris Feld <boris.feld@octobus.net>
parents: 37379
diff changeset
   465
  new changesets a79b6597f322:c70aee6da07d (1 drafts)
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   466
  (run 'hg heads .' to see heads, 'hg merge' to merge)
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   467
  $ hg log -r scratch/scratchontopofpublic -T '{phase}'
50692
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   468
  IMPORTANT: if you use this extension, please contact
db9b6ce803a9 infinitepush: aggressively deprecated infinite push
pierre-yves.david@ens-lyon.org
parents: 49887
diff changeset
   469
  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: 49887
diff changeset
   470
  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: 49887
diff changeset
   471
  extension in Mercurial 6.6.
37189
03ff17a4bf53 infinitepush: move the extension to core from fb-hgext
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff changeset
   472
  draft (no-eol)