tests/test-exchange-A6.t
changeset 1065 f355bbc124fc
parent 1060 f6e0cfca1bf0
child 1078 5717d023da63
equal deleted inserted replaced
1064:95d84c8b4bcc 1065:f355bbc124fc
    56   | x  28b51eb45704 (draft): A0
    56   | x  28b51eb45704 (draft): A0
    57   |/
    57   |/
    58   o  a9bdc8b26820 (public): O
    58   o  a9bdc8b26820 (public): O
    59   
    59   
    60   $ hg debugobsolete
    60   $ hg debugobsolete
    61   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
    61   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
    62   $ cd ..
    62   $ cd ..
    63   $ cd ..
    63   $ cd ..
    64 
    64 
    65   $ cp -r A.6 A.6.a
    65   $ cp -r A.6 A.6.a
    66   $ cp -r A.6 A.6.b
    66   $ cp -r A.6 A.6.b
    71   $ dotest A.6.a A1
    71   $ dotest A.6.a A1
    72   ## Running testcase A.6.a
    72   ## Running testcase A.6.a
    73   # testing echange of "A1" (e5ea8f9c7314)
    73   # testing echange of "A1" (e5ea8f9c7314)
    74   ## initial state
    74   ## initial state
    75   # obstore: main
    75   # obstore: main
    76   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
    76   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
    77   # obstore: pushdest
    77   # obstore: pushdest
    78   # obstore: pulldest
    78   # obstore: pulldest
    79   ## pushing "A1" from main to pushdest
    79   ## pushing "A1" from main to pushdest
    80   pushing to pushdest
    80   pushing to pushdest
    81   searching for changes
    81   searching for changes
    84   OBSEXC: computing markers relevant to 2 nodes
    84   OBSEXC: computing markers relevant to 2 nodes
    85   OBSEXC: pushing 1 obsolescence markers (65 bytes)
    85   OBSEXC: pushing 1 obsolescence markers (65 bytes)
    86   OBSEXC: DONE
    86   OBSEXC: DONE
    87   ## post push state
    87   ## post push state
    88   # obstore: main
    88   # obstore: main
    89   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
    89   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
    90   # obstore: pushdest
    90   # obstore: pushdest
    91   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
    91   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
    92   # obstore: pulldest
    92   # obstore: pulldest
    93   ## pulling "e5ea8f9c7314" from main into pulldest
    93   ## pulling "e5ea8f9c7314" from main into pulldest
    94   pulling from main
    94   pulling from main
    95   no changes found
    95   no changes found
    96   OBSEXC: pull obsolescence markers
    96   OBSEXC: pull obsolescence markers
    97   OBSEXC: merging obsolescence markers (65 bytes)
    97   OBSEXC: merging obsolescence markers (65 bytes)
    98   OBSEXC: 1 obsolescence markers added
    98   OBSEXC: 1 obsolescence markers added
    99   OBSEXC: DONE
    99   OBSEXC: DONE
   100   ## post pull state
   100   ## post pull state
   101   # obstore: main
   101   # obstore: main
   102   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   102   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   103   # obstore: pushdest
   103   # obstore: pushdest
   104   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   104   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   105   # obstore: pulldest
   105   # obstore: pulldest
   106   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   106   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   107 
   107 
   108 Actual Test (bare push version)
   108 Actual Test (bare push version)
   109 -------------------------------
   109 -------------------------------
   110 
   110 
   111   $ dotest A.6.b
   111   $ dotest A.6.b
   112   ## Running testcase A.6.b
   112   ## Running testcase A.6.b
   113   ## initial state
   113   ## initial state
   114   # obstore: main
   114   # obstore: main
   115   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   115   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   116   # obstore: pushdest
   116   # obstore: pushdest
   117   # obstore: pulldest
   117   # obstore: pulldest
   118   ## pushing from main to pushdest
   118   ## pushing from main to pushdest
   119   pushing to pushdest
   119   pushing to pushdest
   120   searching for changes
   120   searching for changes
   123   OBSEXC: computing markers relevant to 3 nodes
   123   OBSEXC: computing markers relevant to 3 nodes
   124   OBSEXC: pushing 1 obsolescence markers (65 bytes)
   124   OBSEXC: pushing 1 obsolescence markers (65 bytes)
   125   OBSEXC: DONE
   125   OBSEXC: DONE
   126   ## post push state
   126   ## post push state
   127   # obstore: main
   127   # obstore: main
   128   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   128   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   129   # obstore: pushdest
   129   # obstore: pushdest
   130   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   130   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   131   # obstore: pulldest
   131   # obstore: pulldest
   132   ## pulling from main into pulldest
   132   ## pulling from main into pulldest
   133   pulling from main
   133   pulling from main
   134   searching for changes
   134   searching for changes
   135   no changes found
   135   no changes found
   137   OBSEXC: merging obsolescence markers (65 bytes)
   137   OBSEXC: merging obsolescence markers (65 bytes)
   138   OBSEXC: 1 obsolescence markers added
   138   OBSEXC: 1 obsolescence markers added
   139   OBSEXC: DONE
   139   OBSEXC: DONE
   140   ## post pull state
   140   ## post pull state
   141   # obstore: main
   141   # obstore: main
   142   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   142   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   143   # obstore: pushdest
   143   # obstore: pushdest
   144   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   144   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   145   # obstore: pulldest
   145   # obstore: pulldest
   146   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {'date': '0 0', 'user': 'test'}
   146   28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}