tests/test-exchange-obsmarkers-case-C2.t
changeset 2580 51a1dd295fe0
parent 2525 5adb8bdb935e
child 2754 21f06d932231
equal deleted inserted replaced
2579:a0f055600512 2580:51a1dd295fe0
    72   o  a9bdc8b26820 (public): O
    72   o  a9bdc8b26820 (public): O
    73   
    73   
    74   $ inspect_obsmarkers
    74   $ inspect_obsmarkers
    75   obsstore content
    75   obsstore content
    76   ================
    76   ================
    77   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
    77   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
    78   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
    78   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
    79   obshashtree
    79   obshashtree
    80   ===========
    80   ===========
    81   a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 0000000000000000000000000000000000000000
    81   a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 0000000000000000000000000000000000000000
    82   28b51eb45704506b5c603decd6bf7ac5e0f6a52f 72f95b7b9fa12243aeb90433d211f2c38263da31
    82   28b51eb45704506b5c603decd6bf7ac5e0f6a52f 3ef2e3b1b37e7a3a8a885b2ff08fa626f1d3aaa9
    83   06055a7959d4128e6e3bccfd01482e83a2db8a3a 9d758cd0bf02f27e9b7de5665b10ceb1dc8bb1f1
    83   06055a7959d4128e6e3bccfd01482e83a2db8a3a 75187bd51740051fdf046fae67687fb056343515
    84   e5ea8f9c73143125d36658e90ef70c6d2027a5b7 289cb0d058c81c763eca8bb438657dba9a7ba646
    84   e5ea8f9c73143125d36658e90ef70c6d2027a5b7 163059af30d498e215e86e1ead6ab749521c38be
    85   obshashrange
    85   obshashrange
    86   ============
    86   ============
    87            rev         node        index         size        depth      obshash
    87            rev         node        index         size        depth      obshash
    88              3 e5ea8f9c7314            0            2            2 289cb0d058c8
    88              3 e5ea8f9c7314            0            2            2 163059af30d4
    89              0 a9bdc8b26820            0            1            1 000000000000
    89              0 a9bdc8b26820            0            1            1 000000000000
    90              3 e5ea8f9c7314            1            1            2 289cb0d058c8
    90              3 e5ea8f9c7314            1            1            2 163059af30d4
    91   $ cd ..
    91   $ cd ..
    92   $ cd ..
    92   $ cd ..
    93 
    93 
    94   $ cp -R C.2 C.2.a
    94   $ cp -R C.2 C.2.a
    95   $ cp -R C.2 C.2.b
    95   $ cp -R C.2 C.2.b
   100   $ dotest C.2.a A1
   100   $ dotest C.2.a A1
   101   ## Running testcase C.2.a
   101   ## Running testcase C.2.a
   102   # testing echange of "A1" (e5ea8f9c7314)
   102   # testing echange of "A1" (e5ea8f9c7314)
   103   ## initial state
   103   ## initial state
   104   # obstore: main
   104   # obstore: main
   105   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   105   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   106   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   106   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   107   # obstore: pushdest
   107   # obstore: pushdest
   108   # obstore: pulldest
   108   # obstore: pulldest
   109   ## pushing "A1" from main to pushdest
   109   ## pushing "A1" from main to pushdest
   110   pushing to pushdest
   110   pushing to pushdest
   111   searching for changes
   111   searching for changes
   114   remote: adding file changes
   114   remote: adding file changes
   115   remote: added 1 changesets with 1 changes to 1 files
   115   remote: added 1 changesets with 1 changes to 1 files
   116   remote: 2 new obsolescence markers
   116   remote: 2 new obsolescence markers
   117   ## post push state
   117   ## post push state
   118   # obstore: main
   118   # obstore: main
   119   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   119   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   120   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   120   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   121   # obstore: pushdest
   121   # obstore: pushdest
   122   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   122   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   123   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   123   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   124   # obstore: pulldest
   124   # obstore: pulldest
   125   ## pulling "e5ea8f9c7314" from main into pulldest
   125   ## pulling "e5ea8f9c7314" from main into pulldest
   126   pulling from main
   126   pulling from main
   127   searching for changes
   127   searching for changes
   128   adding changesets
   128   adding changesets
   131   added 1 changesets with 1 changes to 1 files
   131   added 1 changesets with 1 changes to 1 files
   132   2 new obsolescence markers
   132   2 new obsolescence markers
   133   (run 'hg update' to get a working copy)
   133   (run 'hg update' to get a working copy)
   134   ## post pull state
   134   ## post pull state
   135   # obstore: main
   135   # obstore: main
   136   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   136   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   137   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   137   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   138   # obstore: pushdest
   138   # obstore: pushdest
   139   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   139   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   140   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   140   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   141   # obstore: pulldest
   141   # obstore: pulldest
   142   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   142   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   143   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   143   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   144 
   144 
   145 Actual Test (bare push)
   145 Actual Test (bare push)
   146 -------------------------------------
   146 -------------------------------------
   147 
   147 
   148   $ dotest C.2.b
   148   $ dotest C.2.b
   149   ## Running testcase C.2.b
   149   ## Running testcase C.2.b
   150   ## initial state
   150   ## initial state
   151   # obstore: main
   151   # obstore: main
   152   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   152   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   153   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   153   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   154   # obstore: pushdest
   154   # obstore: pushdest
   155   # obstore: pulldest
   155   # obstore: pulldest
   156   ## pushing from main to pushdest
   156   ## pushing from main to pushdest
   157   pushing to pushdest
   157   pushing to pushdest
   158   searching for changes
   158   searching for changes
   161   remote: adding file changes
   161   remote: adding file changes
   162   remote: added 1 changesets with 1 changes to 1 files
   162   remote: added 1 changesets with 1 changes to 1 files
   163   remote: 2 new obsolescence markers
   163   remote: 2 new obsolescence markers
   164   ## post push state
   164   ## post push state
   165   # obstore: main
   165   # obstore: main
   166   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   166   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   167   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   167   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   168   # obstore: pushdest
   168   # obstore: pushdest
   169   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   169   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   170   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   170   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   171   # obstore: pulldest
   171   # obstore: pulldest
   172   ## pulling from main into pulldest
   172   ## pulling from main into pulldest
   173   pulling from main
   173   pulling from main
   174   searching for changes
   174   searching for changes
   175   adding changesets
   175   adding changesets
   178   added 1 changesets with 1 changes to 1 files
   178   added 1 changesets with 1 changes to 1 files
   179   2 new obsolescence markers
   179   2 new obsolescence markers
   180   (run 'hg update' to get a working copy)
   180   (run 'hg update' to get a working copy)
   181   ## post pull state
   181   ## post pull state
   182   # obstore: main
   182   # obstore: main
   183   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   183   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   184   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   184   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   185   # obstore: pushdest
   185   # obstore: pushdest
   186   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   186   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   187   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   187   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)
   188   # obstore: pulldest
   188   # obstore: pulldest
   189   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   189   06055a7959d4128e6e3bccfd01482e83a2db8a3a 0 {28b51eb45704506b5c603decd6bf7ac5e0f6a52f} (*) {'ef1': '*', 'user': 'test'} (glob)
   190   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   190   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (*) {'user': 'test'} (glob)