[PATCH 2 of 2 V2] test-import: enable for Windows
Adrian Buehlmann
adrian at cadifra.com
Tue Jun 5 08:57:12 CDT 2012
On 2012-06-05 15:43, Adrian Buehlmann wrote:
> +/* The mode change for mksys.bash is missing here, because on platforms */
> +/* that don't support execbits, mode changes in patches are ignored when */
> +/* they are imported. This is obviously also the reason for why the hash */
> +/* in the created changeset is different to the one you see above the */
> +/* #else clause */
Mode changes are ignored, unless the --bypass option is used.
Quoting 'hg help import':
Use --bypass to apply and commit patches directly to the repository, not
touching the working directory. Without --exact, patches will be applied
on top of the working directory parent revision.
Adding a test step execising --bypass would actually be a nice addition for
test-import (TODO for someone with a later patch).
More information about the Mercurial-devel
mailing list