On 25. 04. 24 00:29, Jun Omae wrote:
Hi,

On Tue, Apr 23, 2024 at 8:42 PM Khairul Azhar Kasmiran
<kaza...@gmail.com>  wrote:
I've reattached the patch as a .txt file.

On 2024/04/23 10:46:41 Khairul Azhar Kasmiran wrote:
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.
In POSIX environment, Subversion configurations are loaded from
~/.subversion/config file.

  33 # The default path to the Subversion configuration file.
  34 SVN_CONFIG_FILENAME = os.path.expandvars('$HOME/.subversion/config')

However, the following registry or file is used in Windows.

  * HKEY_CURRENT_USER\Software\Tigris.org\Subversion\Config
  * %USERPROFILE%\AppData\Roaming\Subversion\config

This is actually %APPDATA%\Subversion\config, there's no guarantee that %APPDATA% points to the roaming profile.


To make the script compatible with Windows needs to change the reading 
configurations.

Yes.

-- Brane

Reply via email to