<pre>
fossil new test.fsl
fossil open test.fsl --nested
mkdir a
echo aaa > a\a.txt
fossil add a\a.txt
fossil commit -m "test"
cd a
fossil status
cd ..
attrib +r a
cd a
fossil status
fossil.exe: not within an open checkout   <--- problem
cd ..
fossil version
This is fossil version 1.22 [5dd5d39e7c] 2012-03-19 12:45:47 UTC
</pre>