file permission and patches

Thomas Arendsen Hein thomas at
Fri Sep 2 02:11:43 CDT 2005

* TK Soh <teekaysoh at> [20050902 02:45]:
> I noticed that does not have its execute bits turned
> on. Can something fix this?
>    -rw-r--r--  

This is a security feature :)

Just use "sh".

> BTW, currently export generates plain patch file with only additional headers,
> which can not handle file permission. That also means changesets involving
> [only] permission change might have problem when importing. Any way to
> workaround this?

Not yet, and the executable bit can't be changed on Windows, too.


Email: thomas at

More information about the Mercurial mailing list