Mercurial > hg-stable
diff tests/test-record @ 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 | 67afecb8d6cc |
children | 8b35b08724eb |
line wrap: on
line diff
--- a/tests/test-record Sun Jan 25 20:27:37 2009 +0100 +++ b/tests/test-record Tue Jan 27 09:58:48 2009 -0600 @@ -264,3 +264,35 @@ f EOF echo; hg tip -p + +echo % preserve chmod +x + +chmod +x f1 +echo a >> f1 +hg record -d '20 0' -mz <<EOF +y +y +y +EOF +echo; hg tip --config diff.git=True -p + +echo % preserve execute permission on original + +echo b >> f1 +hg record -d '21 0' -maa <<EOF +y +y +y +EOF +echo; hg tip --config diff.git=True -p + +echo % preserve chmod -x + +chmod -x f1 +echo c >> f1 +hg record -d '22 0' -mab <<EOF +y +y +y +EOF +echo; hg tip --config diff.git=True -p