# HG changeset patch # User Bryan O'Sullivan # Date 1193442193 25200 # Node ID bf2bb53e5d2b94a0c0c02a19e13dc9e52dc44349 # Parent 3ab405e070bbc3c82e56edd0e74ff35b02cc2416 See if execute bit is honoured when we go back in time diff -r 3ab405e070bb -r bf2bb53e5d2b tests/test-execute-bit --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-execute-bit Fri Oct 26 16:43:13 2007 -0700 @@ -0,0 +1,13 @@ +#!/bin/sh + +hg init +echo a > a +hg ci -d'0 0' -Am'not executable' + +chmod +x a +hg ci -d'1 0' -m'executable' +hg id + +hg up 0 +hg id +test -x a && echo executable -- eek || echo not executable -- whew diff -r 3ab405e070bb -r bf2bb53e5d2b tests/test-execute-bit.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-execute-bit.out Fri Oct 26 16:43:13 2007 -0700 @@ -0,0 +1,5 @@ +adding a +1549299e88d1 tip +0 files updated, 0 files merged, 0 files removed, 0 files unresolved +d69afc33ff8a +not executable -- whew