Hi everyone!

This is a patch to make `contrib/client-side/svn_apply_autoprops.py`
Windows-compatible -- I have just found out that `git svn` doesn't
honor autoprops.

The changes are:
  1. Replacing `os.spawnvp()` with `subprocess.call()` since
`os.spawnvp()` isn't supported on Windows.
  2. Using `ON` instead of `*` for boolean properties like
`svn:executable` since for some reason, `*` becomes a wildcard on
Windows.

I have tested this with Python 2.7.18 on Windows and Ubuntu 22.04.4.

[[[
Make svn_apply_autoprops.py Windows-compatible.

* contrib/client-side/svn_apply_autoprops.py
  (process_autoprop_lines): Use `ON` instead of `*` for boolean properties.
  (filter_walk): Replace `os.spawnvp()` with `subprocess.call()`.
]]]

Best regards,
Khairul

Attachment: svn_apply_autoprops-win.patch
Description: Binary data

Reply via email to