[PATCH] introduce auxencode repositories (issue793)

Adrian Buehlmann adrian at cadifra.com
Sat Jun 28 11:50:37 CDT 2008


Sigh. File mode woes again...

On 28.06.2008 18:10, Adrian Buehlmann wrote:
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1214654461 -7200
> # Node ID e2b78b52e0a1b496238d3c18dd39ed8c76420163
> # Parent  39319a457ddac02e209461eb3d0ed2145ccc0106
> introduce auxencode repositories (issue793)

[snip]

> diff --git a/tests/test-auxencode.py b/tests/test-auxencode.py
> new file mode 100644
should be:      100755

It's not, because I've qpush'ed the patch on *Windows* -- after having
run the testsuite on FreeBSD -- and then hg email -r tip on Windows.

Patch with correct modes is available here:
http://www.cadifra.com/cgi-bin/repos/hg-auxencode/file/tip/auxencode.patch

Would be very nice if this use case could be improved. In my mq patchfile
at .hg/patches/auxencode.patch the mode *is* 100755. When qpush
applies it on Windows, it changes the mode to 100644.
I know that a 755 file is an inexistent concept on Windows in the
working copy, but inside the repo it is...


More information about the Mercurial-devel mailing list