comparison tests/test-fileset.t @ 31830:d34316ae5c58

tests: add per-line output conditionals for Windows
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 05 Apr 2017 23:44:22 -0400
parents 6b098ac4542e
children 7ef0816bfe64
comparison
equal deleted inserted replaced
31829:4eec2f04a672 31830:d34316ae5c58
439 A b2 439 A b2
440 $ hg status --change 1 440 $ hg status --change 1
441 M b2 441 M b2
442 A 1k 442 A 1k
443 A 2k 443 A 2k
444 A b2link 444 A b2link (no-windows !)
445 A bin 445 A bin
446 A c1 446 A c1
447 A con.xml 447 A con.xml (no-windows !)
448 R a2 448 R a2
449 $ hg status --change 2 449 $ hg status --change 2
450 M b2 450 M b2
451 $ hg status --change 3 451 $ hg status --change 3
452 M b2 452 M b2
453 A 1k 453 A 1k
454 A 2k 454 A 2k
455 A b2link 455 A b2link (no-windows !)
456 A bin 456 A bin
457 A c1 457 A c1
458 A con.xml 458 A con.xml (no-windows !)
459 R a2 459 R a2
460 $ hg status --change 4 460 $ hg status --change 4
461 A .hgsub 461 A .hgsub
462 A .hgsubstate 462 A .hgsubstate
463 $ hg status 463 $ hg status
464 A dos 464 A dos
465 A mac 465 A mac
466 A mixed 466 A mixed
467 R con.xml 467 R con.xml (no-windows !)
468 ! a1 468 ! a1
469 ? b2.orig 469 ? b2.orig
470 ? c3 470 ? c3
471 ? unknown 471 ? unknown
472 472
549 549
550 check wdir() 550 check wdir()
551 ------------ 551 ------------
552 552
553 $ hg status --removed --rev 4 553 $ hg status --removed --rev 4
554 R con.xml 554 R con.xml (no-windows !)
555 $ fileset "status(4, 'wdir()', removed())" 555 $ fileset "status(4, 'wdir()', removed())"
556 con.xml 556 con.xml (no-windows !)
557 557
558 $ hg status --removed --rev 2 558 $ hg status --removed --rev 2
559 R a2 559 R a2
560 $ fileset "status('2', 'wdir()', removed())" 560 $ fileset "status('2', 'wdir()', removed())"
561 a2 561 a2
583 $ hg status --added --rev 0:1 --rev 3:4 583 $ hg status --added --rev 0:1 --rev 3:4
584 A .hgsub 584 A .hgsub
585 A .hgsubstate 585 A .hgsubstate
586 A 1k 586 A 1k
587 A 2k 587 A 2k
588 A b2link 588 A b2link (no-windows !)
589 A bin 589 A bin
590 A c1 590 A c1
591 A con.xml 591 A con.xml (no-windows !)
592 $ fileset "status('0:1', '3:4', added())" 592 $ fileset "status('0:1', '3:4', added())"
593 .hgsub 593 .hgsub
594 .hgsubstate 594 .hgsubstate
595 1k 595 1k
596 2k 596 2k
597 b2link 597 b2link (no-windows !)
598 bin 598 bin
599 c1 599 c1
600 con.xml 600 con.xml (no-windows !)
601 601
602 tests with empty value 602 tests with empty value
603 ---------------------- 603 ----------------------
604 604
605 Fully empty revset 605 Fully empty revset