Skip to content
Snippets Groups Projects
Commit 1415edd88c56 authored by Adrian Buehlmann's avatar Adrian Buehlmann
Browse files

test-tags: enable for Windows

It turns out that MSYS does have a chmod.exe, but it has no effect. So, the
inserted "#if unix-permissions" is somewhat redundant, as the test would pass
without it as well: it would simply write the tag cache, despite what the
comment says.

But I'm actually in favor of inserting the #if, as it makes it clearer what's
going on.
parent 241a32942c7a
No related merge requests found
$ "$TESTDIR/hghave" unix-permissions || exit 80
Helper functions:
$ cacheexists() {
......@@ -77,8 +75,9 @@
And again, but now unable to write tag cache:
#if unix-permissions
$ rm -f .hg/cache/tags
$ chmod 555 .hg
$ hg identify
b9154636be93 tip
$ chmod 755 .hg
......@@ -80,8 +79,9 @@
$ rm -f .hg/cache/tags
$ chmod 555 .hg
$ hg identify
b9154636be93 tip
$ chmod 755 .hg
#endif
Create a branch:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment