Mercurial > hg-stable
comparison README @ 17109:7ba2b9435da9
test-hgweb-diffs: partially adapt for Windows
Since chmod isn't supported on Windows (or vfat), I'm importing a here-doc
instead (<<EOF ..).
Option --bypass on import of the here-doc is required on Windows (or vfat) to
bypass the working directory (see hg help import). Not using --bypass would
lose the mode changing bits.
I've had to insert a --bypass on the preexisting import call futher down in the
test, because importing a patch with --exact and mode changes will fail on
Windows (and vfat).
As the point of this test is not to test commit, I'm using the import
procedure for all platforms unconditionally, that is, I'm intentionally not
keeping the original sequence of hg and chmod calls for platforms that support
exec either, which saves us having to insert an #if exec ... #else ... #endif.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 04 Jul 2012 12:43:13 +0200 |
parents | df5ecb813426 |
children | 4b0fc75f9403 |
comparison
equal
deleted
inserted
replaced
17108:1894dac619de | 17109:7ba2b9435da9 |
---|