##// END OF EJS Templates
tests: add blank output lines to test-commandserver...
Augie Fackler -
r33922:a4c1333b default
parent child Browse files
Show More
@@ -281,6 +281,7 b' Clean hook cached version'
281 ... f.close()
281 ... f.close()
282 ... runcommand(server, ['commit', '-Amm'])
282 ... runcommand(server, ['commit', '-Amm'])
283 ... runcommand(server, ['bookmarks'])
283 ... runcommand(server, ['bookmarks'])
284 ... print('')
284 *** runcommand bookmarks
285 *** runcommand bookmarks
285 no bookmarks set
286 no bookmarks set
286 *** runcommand bookmarks
287 *** runcommand bookmarks
@@ -295,6 +296,7 b' Clean hook cached version'
295 bm1 1:d3a0a68be6de
296 bm1 1:d3a0a68be6de
296 bm2 1:d3a0a68be6de
297 bm2 1:d3a0a68be6de
297 * bm3 2:aef17e88f5f0
298 * bm3 2:aef17e88f5f0
299
298
300
299 >>> import os
301 >>> import os
300 >>> from hgclient import readchannel, runcommand, check
302 >>> from hgclient import readchannel, runcommand, check
@@ -331,6 +333,7 b' Clean hook cached version'
331 ... runcommand(server, ['commit', '-Am.'])
333 ... runcommand(server, ['commit', '-Am.'])
332 ... runcommand(server, ['rollback'])
334 ... runcommand(server, ['rollback'])
333 ... runcommand(server, ['phase', '-r', '.'])
335 ... runcommand(server, ['phase', '-r', '.'])
336 ... print('')
334 *** runcommand phase -r . -p
337 *** runcommand phase -r . -p
335 no phases changed
338 no phases changed
336 *** runcommand commit -Am.
339 *** runcommand commit -Am.
@@ -339,6 +342,7 b' Clean hook cached version'
339 working directory now based on revision 3
342 working directory now based on revision 3
340 *** runcommand phase -r .
343 *** runcommand phase -r .
341 3: public
344 3: public
345
342
346
343 >>> import os
347 >>> import os
344 >>> from hgclient import readchannel, runcommand, check
348 >>> from hgclient import readchannel, runcommand, check
@@ -372,10 +376,12 b' Clean hook cached version'
372 ... f.write('ignored-file')
376 ... f.write('ignored-file')
373 ... f.close()
377 ... f.close()
374 ... runcommand(server, ['status', '-i', '-u'])
378 ... runcommand(server, ['status', '-i', '-u'])
379 ... print('')
375 *** runcommand commit -Am.
380 *** runcommand commit -Am.
376 adding .hgignore
381 adding .hgignore
377 *** runcommand status -i -u
382 *** runcommand status -i -u
378 I ignored-file
383 I ignored-file
384
379
385
380 cache of non-public revisions should be invalidated on repository change
386 cache of non-public revisions should be invalidated on repository change
381 (issue4855):
387 (issue4855):
@@ -396,12 +402,14 b' cache of non-public revisions should be '
396 ... os.system('hg commit -Aqm%d' % i)
402 ... os.system('hg commit -Aqm%d' % i)
397 ... # new commits should be listed as draft revisions
403 ... # new commits should be listed as draft revisions
398 ... runcommand(server, ['log', '-qr', 'draft()'])
404 ... runcommand(server, ['log', '-qr', 'draft()'])
405 ... print('')
399 *** runcommand log -qr draft()
406 *** runcommand log -qr draft()
400 4:7966c8e3734d
407 4:7966c8e3734d
401 *** runcommand log -qr draft()
408 *** runcommand log -qr draft()
402 4:7966c8e3734d
409 4:7966c8e3734d
403 5:41f6602d1c4f
410 5:41f6602d1c4f
404 6:10501e202c35
411 6:10501e202c35
412
405
413
406 >>> import os
414 >>> import os
407 >>> from hgclient import readchannel, runcommand, check
415 >>> from hgclient import readchannel, runcommand, check
@@ -414,12 +422,14 b' cache of non-public revisions should be '
414 ... os.system('hg --config extensions.strip= strip -q 5')
422 ... os.system('hg --config extensions.strip= strip -q 5')
415 ... # shouldn't abort by "unknown revision '6'"
423 ... # shouldn't abort by "unknown revision '6'"
416 ... runcommand(server, ['log', '-qr', 'draft()'])
424 ... runcommand(server, ['log', '-qr', 'draft()'])
425 ... print('')
417 *** runcommand log -qr draft()
426 *** runcommand log -qr draft()
418 4:7966c8e3734d
427 4:7966c8e3734d
419 5:41f6602d1c4f
428 5:41f6602d1c4f
420 6:10501e202c35
429 6:10501e202c35
421 *** runcommand log -qr draft()
430 *** runcommand log -qr draft()
422 4:7966c8e3734d
431 4:7966c8e3734d
432
423
433
424 cache of phase roots should be invalidated on strip (issue3827):
434 cache of phase roots should be invalidated on strip (issue3827):
425
435
General Comments 0
You need to be logged in to leave comments. Login now