[PATCH] posix: add configuration option to ignore execution mode changes (issue3301)

Angel Ezquerra Moreu angel.ezquerra at gmail.com
Fri Mar 2 06:25:27 CST 2012


On Fri, Mar 2, 2012 at 1:20 PM, A. S. Budden <abudden at gmail.com> wrote:
> # HG changeset patch
> # User A. S. Budden <abudden at gmail.com>
> # Date 1330690534 0
> # Node ID 105fae68f78292cebd41e118bc68b24c171fa553
> # Parent  85db991780b7b86913c3e29a5fe7ef25ab5ee93c
> posix: add configuration option to ignore execution mode changes (issue3301)
>
> Using a posix version of Mercurial on a filesystem (such as FAT)
> without support for the executable bit can result in Mercurial
> erroneously reporting/committing executable bit changes.
>
> This patch adds an 'ignoreexec' option to the 'ui' field in hgrc
> to allow a user to make the posix version act like the Windows
> version and ignore execution mode changes.  This is roughly
> equivalent to Git's core.filemode option.

I find the setting name "ui.ignoreexec" a bit unclear, particularly
the fact that it stems directly from the ui section. Also it is not
clear what sort of "exec" you are ignoring.

Instead, maybe it could be called "ui.commit.ignoreexecbit"?

Angel


More information about the Mercurial-devel mailing list