tests/test-exchange-B4.t
author Greg Ward <greg@gerg.ca>
Thu, 05 Jun 2014 22:11:04 -0400
changeset 978 8328337d23b2
parent 957 2cde59f3cb5d
child 984 b286f77d680c
permissions -rw-r--r--
docs: add new user guide This has also been reviewed to death on evolve-testers. There are still a couple of short sections to write (clearly marked "TODO"), and one example to add. But (if I may be so bold) this is a gigantic improvement over the current docs, so it really should get merged. Incidentally, the figures are all SVG files created with Inkscape. They're not perfect, but they're pretty nice. Anyone who knows a better way to create technical diagrams is welcome to contribute. One wart: there's a test script that accompanies the document and largely duplicates it, but I haven't unified them. I've been concentrating on writing the best possible content, not on fiddling with tools. I suspect that unifying them will be non-trivial, but definitely worth doing.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
840
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     1
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     2
Initial setup
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     3
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     4
  $ . $TESTDIR/_exc-util.sh
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     5
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     6
=== B.4 Pruned changeset on common part of history ===
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     7
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     8
.. {{{
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
     9
..    C
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    10
..   |  B
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    11
..   | |
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    12
..   |  A
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    13
..   |/
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    14
..    O
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    15
.. }}}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    16
..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    17
.. Marker exist from:
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    18
..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    19
..  * C (prune)
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    20
..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    21
.. Command run:
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    22
..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    23
..  * hg push -r B
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    24
..  * hg push
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    25
..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    26
.. Expected exchange:
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    27
..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    28
..  * prune for C
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    29
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    30
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    31
  $ setuprepos B.4
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    32
  creating test repo for test case B.4
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    33
  - pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    34
  - main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    35
  - pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    36
  cd into `main` and proceed with env setup
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    37
  $ cd main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    38
  $ mkcommit A
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    39
  $ mkcommit B
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    40
  $ hg phase --public .
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    41
  $ hg push ../pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    42
  pushing to ../pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    43
  searching for changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    44
  adding changesets
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    45
  adding manifests
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    46
  adding file changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    47
  added 2 changesets with 2 changes to 2 files
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    48
  $ hg push ../pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    49
  pushing to ../pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    50
  searching for changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    51
  adding changesets
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    52
  adding manifests
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    53
  adding file changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    54
  added 2 changesets with 2 changes to 2 files
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    55
  $ hg update -q 0
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    56
  $ mkcommit C
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    57
  created new head
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    58
  $ hg prune -qd '0 0' .
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    59
  $ hg log -G --hidden
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    60
  x  7f7f229b13a6 (draft): C
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    61
  |
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    62
  | o  f6fbb35d8ac9 (public): B
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    63
  | |
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    64
  | o  f5bc6836db60 (public): A
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    65
  |/
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    66
  @  a9bdc8b26820 (public): O
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    67
  
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    68
  $ hg debugobsolete
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    69
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    70
  $ cd ..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    71
  $ cd ..
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    72
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    73
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    74
  $ cp -r B.4 B.4.a
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    75
  $ cp -r B.4 B.4.b
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    76
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    77
Actual Test (explicite push version)
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    78
-----------------------------------
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    79
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    80
  $ dotest B.4.a O
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    81
  ## Running testcase B.4.a
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    82
  # testing echange of "O" (a9bdc8b26820)
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    83
  ## initial state
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    84
  # obstore: main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    85
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    86
  # obstore: pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    87
  # obstore: pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    88
  ## pushing "O" from main to pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    89
  pushing to pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    90
  searching for changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    91
  no changes found
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    92
  OBSEXC: computing relevant nodes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    93
  OBSEXC: computing markers relevant to 1 nodes
957
2cde59f3cb5d evolve: add a push pass using bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 956
diff changeset
    94
  OBSEXC: pushing 1 markers (89 bytes)
840
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    95
  OBSEXC: DONE
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    96
  ## post push state
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    97
  # obstore: main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    98
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
    99
  # obstore: pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   100
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   101
  # obstore: pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   102
  ## pulling "a9bdc8b26820" from main into pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   103
  pulling from main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   104
  no changes found
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   105
  OBSEXC: pull obsolescence markers
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   106
  OBSEXC: merging obsolescence markers (89 bytes)
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   107
  OBSEXC: 1 markers added
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   108
  OBSEXC: DONE
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   109
  ## post pull state
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   110
  # obstore: main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   111
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   112
  # obstore: pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   113
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   114
  # obstore: pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   115
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   116
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   117
Actual Test (bare push version)
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   118
-----------------------------------
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   119
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   120
  $ dotest B.4.b
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   121
  ## Running testcase B.4.b
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   122
  ## initial state
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   123
  # obstore: main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   124
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   125
  # obstore: pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   126
  # obstore: pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   127
  ## pushing from main to pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   128
  pushing to pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   129
  searching for changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   130
  no changes found
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   131
  OBSEXC: computing relevant nodes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   132
  OBSEXC: computing markers relevant to 3 nodes
957
2cde59f3cb5d evolve: add a push pass using bundle2
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 956
diff changeset
   133
  OBSEXC: pushing 1 markers (89 bytes)
840
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   134
  OBSEXC: DONE
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   135
  ## post push state
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   136
  # obstore: main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   137
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   138
  # obstore: pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   139
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   140
  # obstore: pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   141
  ## pulling from main into pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   142
  pulling from main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   143
  searching for changes
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   144
  no changes found
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   145
  OBSEXC: pull obsolescence markers
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   146
  OBSEXC: merging obsolescence markers (89 bytes)
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   147
  OBSEXC: 1 markers added
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   148
  OBSEXC: DONE
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   149
  ## post pull state
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   150
  # obstore: main
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   151
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   152
  # obstore: pushdest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   153
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   154
  # obstore: pulldest
6689b9d351f7 exchange: add test case for B.4
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
   155
  7f7f229b13a629a5b20581c6cb723f4e2ca54bed 0 {'date': '0 0', 'p1': 'a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04', 'user': 'test'}