tests/test-bookmarks-pushpull.t
branchstable
changeset 46993 f67b8946bb1b
parent 46977 3f87d2af0bd6
child 47920 9c4204b7f3e4
equal deleted inserted replaced
46810:bc268ea9f984 46993:f67b8946bb1b
   127   bundle2-output-bundle: "HG20", 4 parts total
   127   bundle2-output-bundle: "HG20", 4 parts total
   128   bundle2-output: start emission of HG20 stream
   128   bundle2-output: start emission of HG20 stream
   129   bundle2-output: bundle parameter: 
   129   bundle2-output: bundle parameter: 
   130   bundle2-output: start of parts
   130   bundle2-output: start of parts
   131   bundle2-output: bundle part: "replycaps"
   131   bundle2-output: bundle part: "replycaps"
   132   bundle2-output-part: "replycaps" 241 bytes payload
   132   bundle2-output-part: "replycaps" 224 bytes payload
   133   bundle2-output: part 0: "REPLYCAPS"
   133   bundle2-output: part 0: "REPLYCAPS"
   134   bundle2-output: header chunk size: 16
   134   bundle2-output: header chunk size: 16
   135   bundle2-output: payload chunk size: 241
   135   bundle2-output: payload chunk size: 224
   136   bundle2-output: closing payload chunk
   136   bundle2-output: closing payload chunk
   137   bundle2-output: bundle part: "check:bookmarks"
   137   bundle2-output: bundle part: "check:bookmarks"
   138   bundle2-output-part: "check:bookmarks" 23 bytes payload
   138   bundle2-output-part: "check:bookmarks" 23 bytes payload
   139   bundle2-output: part 1: "CHECK:BOOKMARKS"
   139   bundle2-output: part 1: "CHECK:BOOKMARKS"
   140   bundle2-output: header chunk size: 22
   140   bundle2-output: header chunk size: 22
   160   bundle2-input: part type: "REPLYCAPS"
   160   bundle2-input: part type: "REPLYCAPS"
   161   bundle2-input: part id: "0"
   161   bundle2-input: part id: "0"
   162   bundle2-input: part parameters: 0
   162   bundle2-input: part parameters: 0
   163   bundle2-input: found a handler for part replycaps
   163   bundle2-input: found a handler for part replycaps
   164   bundle2-input-part: "replycaps" supported
   164   bundle2-input-part: "replycaps" supported
   165   bundle2-input: payload chunk size: 241
   165   bundle2-input: payload chunk size: 224
   166   bundle2-input: payload chunk size: 0
   166   bundle2-input: payload chunk size: 0
   167   bundle2-input-part: total payload size 241
   167   bundle2-input-part: total payload size 224
   168   bundle2-input: part header size: 22
   168   bundle2-input: part header size: 22
   169   bundle2-input: part type: "CHECK:BOOKMARKS"
   169   bundle2-input: part type: "CHECK:BOOKMARKS"
   170   bundle2-input: part id: "1"
   170   bundle2-input: part id: "1"
   171   bundle2-input: part parameters: 0
   171   bundle2-input: part parameters: 0
   172   bundle2-input: found a handler for part check:bookmarks
   172   bundle2-input: found a handler for part check:bookmarks
   239   bundle2-output-bundle: "HG20", 4 parts total
   239   bundle2-output-bundle: "HG20", 4 parts total
   240   bundle2-output: start emission of HG20 stream
   240   bundle2-output: start emission of HG20 stream
   241   bundle2-output: bundle parameter: 
   241   bundle2-output: bundle parameter: 
   242   bundle2-output: start of parts
   242   bundle2-output: start of parts
   243   bundle2-output: bundle part: "replycaps"
   243   bundle2-output: bundle part: "replycaps"
   244   bundle2-output-part: "replycaps" 241 bytes payload
   244   bundle2-output-part: "replycaps" 224 bytes payload
   245   bundle2-output: part 0: "REPLYCAPS"
   245   bundle2-output: part 0: "REPLYCAPS"
   246   bundle2-output: header chunk size: 16
   246   bundle2-output: header chunk size: 16
   247   bundle2-output: payload chunk size: 241
   247   bundle2-output: payload chunk size: 224
   248   bundle2-output: closing payload chunk
   248   bundle2-output: closing payload chunk
   249   bundle2-output: bundle part: "check:bookmarks"
   249   bundle2-output: bundle part: "check:bookmarks"
   250   bundle2-output-part: "check:bookmarks" 23 bytes payload
   250   bundle2-output-part: "check:bookmarks" 23 bytes payload
   251   bundle2-output: part 1: "CHECK:BOOKMARKS"
   251   bundle2-output: part 1: "CHECK:BOOKMARKS"
   252   bundle2-output: header chunk size: 22
   252   bundle2-output: header chunk size: 22
   273   bundle2-input: part type: "REPLYCAPS"
   273   bundle2-input: part type: "REPLYCAPS"
   274   bundle2-input: part id: "0"
   274   bundle2-input: part id: "0"
   275   bundle2-input: part parameters: 0
   275   bundle2-input: part parameters: 0
   276   bundle2-input: found a handler for part replycaps
   276   bundle2-input: found a handler for part replycaps
   277   bundle2-input-part: "replycaps" supported
   277   bundle2-input-part: "replycaps" supported
   278   bundle2-input: payload chunk size: 241
   278   bundle2-input: payload chunk size: 224
   279   bundle2-input: payload chunk size: 0
   279   bundle2-input: payload chunk size: 0
   280   bundle2-input-part: total payload size 241
   280   bundle2-input-part: total payload size 224
   281   bundle2-input: part header size: 22
   281   bundle2-input: part header size: 22
   282   bundle2-input: part type: "CHECK:BOOKMARKS"
   282   bundle2-input: part type: "CHECK:BOOKMARKS"
   283   bundle2-input: part id: "1"
   283   bundle2-input: part id: "1"
   284   bundle2-input: part parameters: 0
   284   bundle2-input: part parameters: 0
   285   bundle2-input: found a handler for part check:bookmarks
   285   bundle2-input: found a handler for part check:bookmarks
  1175   $ hg push -B @ local
  1175   $ hg push -B @ local
  1176   pushing to $TESTTMP/issue4455-dest
  1176   pushing to $TESTTMP/issue4455-dest
  1177   searching for changes
  1177   searching for changes
  1178   no changes found
  1178   no changes found
  1179   abort: prepushkey hook exited with status 1
  1179   abort: prepushkey hook exited with status 1
  1180   [255]
  1180   [40]
  1181 
  1181 
  1182 #endif
  1182 #endif
  1183 
  1183 
  1184   $ hg -R ../issue4455-dest/ bookmarks
  1184   $ hg -R ../issue4455-dest/ bookmarks
  1185   no bookmarks set
  1185   no bookmarks set
  1215   pushing to ssh://user@dummy/issue4455-dest
  1215   pushing to ssh://user@dummy/issue4455-dest
  1216   searching for changes
  1216   searching for changes
  1217   no changes found
  1217   no changes found
  1218   remote: prepushkey hook exited with status 1
  1218   remote: prepushkey hook exited with status 1
  1219   abort: push failed on remote
  1219   abort: push failed on remote
  1220   [255]
  1220   [100]
  1221 
  1221 
  1222 #endif
  1222 #endif
  1223 
  1223 
  1224   $ hg -R ../issue4455-dest/ bookmarks
  1224   $ hg -R ../issue4455-dest/ bookmarks
  1225   no bookmarks set
  1225   no bookmarks set
  1255   pushing to ssh://user@dummy/issue4455-dest
  1255   pushing to ssh://user@dummy/issue4455-dest
  1256   searching for changes
  1256   searching for changes
  1257   no changes found
  1257   no changes found
  1258   remote: prepushkey hook exited with status 1
  1258   remote: prepushkey hook exited with status 1
  1259   abort: push failed on remote
  1259   abort: push failed on remote
  1260   [255]
  1260   [100]
  1261 
  1261 
  1262 #endif
  1262 #endif
  1263 
  1263 
  1264   $ hg -R ../issue4455-dest/ bookmarks
  1264   $ hg -R ../issue4455-dest/ bookmarks
  1265   no bookmarks set
  1265   no bookmarks set
  1332   pushing to ssh://user@dummy/server
  1332   pushing to ssh://user@dummy/server
  1333   searching for changes
  1333   searching for changes
  1334   no changes found
  1334   no changes found
  1335   remote: prepushkey.no-bm-move hook exited with status 1
  1335   remote: prepushkey.no-bm-move hook exited with status 1
  1336   abort: push failed on remote
  1336   abort: push failed on remote
  1337   [255]
  1337   [100]
  1338 #endif
  1338 #endif
  1339 
  1339 
  1340 -- test for pushing bookmarks pointing to secret changesets
  1340 -- test for pushing bookmarks pointing to secret changesets
  1341 
  1341 
  1342 Set up a "remote" repo
  1342 Set up a "remote" repo