diff 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
line wrap: on
line diff
--- a/tests/test-record.out	Sun Jan 25 20:27:37 2009 +0100
+++ b/tests/test-record.out	Tue Jan 27 09:58:48 2009 -0600
@@ -494,3 +494,81 @@
  a
 +a
 
+% preserve chmod +x
+diff --git a/subdir/f1 b/subdir/f1
+old mode 100644
+new mode 100755
+1 hunks, 1 lines changed
+examine changes to 'subdir/f1'? [Ynsfdaq?]  @@ -1,2 +1,3 @@
+ a
+ a
++a
+record this change to 'subdir/f1'? [Ynsfdaq?]  
+changeset:   22:a891589cb933
+tag:         tip
+user:        test
+date:        Thu Jan 01 00:00:20 1970 +0000
+summary:     z
+
+diff --git a/subdir/f1 b/subdir/f1
+old mode 100644
+new mode 100755
+--- a/subdir/f1
++++ b/subdir/f1
+@@ -1,2 +1,3 @@
+ a
+ a
++a
+
+% preserve execute permission on original
+diff --git a/subdir/f1 b/subdir/f1
+1 hunks, 1 lines changed
+examine changes to 'subdir/f1'? [Ynsfdaq?]  @@ -1,3 +1,4 @@
+ a
+ a
+ a
++b
+record this change to 'subdir/f1'? [Ynsfdaq?]  
+changeset:   23:befa0dae6201
+tag:         tip
+user:        test
+date:        Thu Jan 01 00:00:21 1970 +0000
+summary:     aa
+
+diff --git a/subdir/f1 b/subdir/f1
+--- a/subdir/f1
++++ b/subdir/f1
+@@ -1,3 +1,4 @@
+ a
+ a
+ a
++b
+
+% preserve chmod -x
+diff --git a/subdir/f1 b/subdir/f1
+old mode 100755
+new mode 100644
+1 hunks, 1 lines changed
+examine changes to 'subdir/f1'? [Ynsfdaq?]  @@ -2,3 +2,4 @@
+ a
+ a
+ b
++c
+record this change to 'subdir/f1'? [Ynsfdaq?]  
+changeset:   24:8fd83ff53ce6
+tag:         tip
+user:        test
+date:        Thu Jan 01 00:00:22 1970 +0000
+summary:     ab
+
+diff --git a/subdir/f1 b/subdir/f1
+old mode 100755
+new mode 100644
+--- a/subdir/f1
++++ b/subdir/f1
+@@ -2,3 +2,4 @@
+ a
+ a
+ b
++c
+