Skip to content
Snippets Groups Projects
Commit ed90f4a1 authored by Matt Harbison's avatar Matt Harbison
Browse files

tests: conditionalize `chmod` usage in `test-upgrade-repo.t`

While the command itself doesn't error out on Windows, it also doesn't make the
filesystem readonly.  Therefore the repo gets altered to drop dirstate-v2, and
puts it out of sync with that happens on Linux.
parent 9cfc95e9
No related branches found
No related tags found
3 merge requests!1041Merge default into stable,!997tests: use shlex.quote instead of pipes.quote,!972Windows test fixes
...@@ -2082,6 +2082,8 @@ ...@@ -2082,6 +2082,8 @@
tracked-hint: no tracked-hint: no
share-safe: yes share-safe: yes
#if unix-permissions
Attempting Auto-upgrade on a read-only repository Attempting Auto-upgrade on a read-only repository
------------------------------------------------- -------------------------------------------------
...@@ -2095,6 +2097,8 @@ ...@@ -2095,6 +2097,8 @@
$ chmod -R u+w auto-upgrade $ chmod -R u+w auto-upgrade
#endif
Attempting Auto-upgrade on a locked repository Attempting Auto-upgrade on a locked repository
---------------------------------------------- ----------------------------------------------
......
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