Khairul Azhar Kasmiran <kazarmy@gmail.com>


Patch
r1917446, r1917397, r1917382

r1917382 | dsahlberg | 2024-04-27 12:41:31 +0000 (Sat, 27 Apr 2024)

Make svn_apply_autoprops.py Windows-compatible.

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

Patch by: Khairul Azhar Kasmiran <kazarmy@gmail.com>

Discussion on dev@:
https://lists.apache.org/thread/p66voozgndlr8qlqrtkbjs6dq0jklooj


r1917397 | dsahlberg | 2024-04-28 08:21:45 +0000 (Sun, 28 Apr 2024)

svn_apply_autoprops: Support @-containing filenames.
'@' is used by the peg revision syntax. If a filename contains '@' an additional '@' must be appended at the
end of the filename, see the Subversion book: https://svnbook.red-bean.com/en/1.7/svn.advanced.pegrevs.html


* contrib/client-side/svn_apply_autoprops.py
  (filter_walk): Append '@' to filenames containing '@'.

Patch by: Khairul Azhar Kasmiran <kazarmy@gmail.com>

Discussion on dev@:
https://lists.apache.org/thread/r2hkc00dwgjco0r09v5rdz2sdmtjtb2w

Note from future: contains mixed space and tabs. Fixed in r1917405

r1917446 | dsahlberg | 2024-05-01 09:03:30 +0000 (Wed, 01 May 2024)

Make svn_apply_autoprops.py Python 3-compatible.

* contrib/client-side/svn_apply_autoprops.py:
  (get_autoprop_lines): Use raw strings for regexes, and `for line in
    fd` instead of `for line in fd.xreadlines()`.
  (filter_walk): Pass directory names separately.
  (main): Use `open()` instead of `file()`, and `os.walk()` instead of
    `os.path.walk()`.


Patch by: Khairul Azhar Kasmiran <kazarmy@gmail.com>

Discussed on dev@ https://lists.apache.org/thread/rd8942g7oc6lljjpybw94r4lqhyh2p36