comparison tests/test-record.out @ 7718:6fa7b6fb90a9

record: do not lose permission changes on commit
author Steve Borho <steve@borho.org>
date Tue, 27 Jan 2009 09:58:48 -0600
parents 405cacb06745
children 14ec64d41dad
comparison
equal deleted inserted replaced
7712:9f9bbd33f71e 7718:6fa7b6fb90a9
492 +++ b/subdir/f1 Thu Jan 01 00:00:19 1970 +0000 492 +++ b/subdir/f1 Thu Jan 01 00:00:19 1970 +0000
493 @@ -1,1 +1,2 @@ 493 @@ -1,1 +1,2 @@
494 a 494 a
495 +a 495 +a
496 496
497 % preserve chmod +x
498 diff --git a/subdir/f1 b/subdir/f1
499 old mode 100644
500 new mode 100755
501 1 hunks, 1 lines changed
502 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,2 +1,3 @@
503 a
504 a
505 +a
506 record this change to 'subdir/f1'? [Ynsfdaq?]
507 changeset: 22:a891589cb933
508 tag: tip
509 user: test
510 date: Thu Jan 01 00:00:20 1970 +0000
511 summary: z
512
513 diff --git a/subdir/f1 b/subdir/f1
514 old mode 100644
515 new mode 100755
516 --- a/subdir/f1
517 +++ b/subdir/f1
518 @@ -1,2 +1,3 @@
519 a
520 a
521 +a
522
523 % preserve execute permission on original
524 diff --git a/subdir/f1 b/subdir/f1
525 1 hunks, 1 lines changed
526 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -1,3 +1,4 @@
527 a
528 a
529 a
530 +b
531 record this change to 'subdir/f1'? [Ynsfdaq?]
532 changeset: 23:befa0dae6201
533 tag: tip
534 user: test
535 date: Thu Jan 01 00:00:21 1970 +0000
536 summary: aa
537
538 diff --git a/subdir/f1 b/subdir/f1
539 --- a/subdir/f1
540 +++ b/subdir/f1
541 @@ -1,3 +1,4 @@
542 a
543 a
544 a
545 +b
546
547 % preserve chmod -x
548 diff --git a/subdir/f1 b/subdir/f1
549 old mode 100755
550 new mode 100644
551 1 hunks, 1 lines changed
552 examine changes to 'subdir/f1'? [Ynsfdaq?] @@ -2,3 +2,4 @@
553 a
554 a
555 b
556 +c
557 record this change to 'subdir/f1'? [Ynsfdaq?]
558 changeset: 24:8fd83ff53ce6
559 tag: tip
560 user: test
561 date: Thu Jan 01 00:00:22 1970 +0000
562 summary: ab
563
564 diff --git a/subdir/f1 b/subdir/f1
565 old mode 100755
566 new mode 100644
567 --- a/subdir/f1
568 +++ b/subdir/f1
569 @@ -2,3 +2,4 @@
570 a
571 a
572 b
573 +c
574