For the usual Unix user's ~/.subversion/servers, this inspection lists selected proxy inputs and host-group mappings without printing saved passwords:

from configparser import ConfigParser
from pathlib import Path

settings = ConfigParser(interpolation=None)
settings.read(Path.home() / '.subversion' / 'servers')
for key in ('http-proxy-host', 'http-proxy-port',
            'http-proxy-exceptions'):
    print(key, settings.get('global', key, fallback=''))

if settings.has_section('groups'):
    for group, patterns in settings.items('groups'):
        print('group', group, patterns)

Keep the repository hostname with this output. The script reports file contents, not the route Subversion ultimately selected.

Check the matching group's named section as well as global. The groups section maps names to server patterns; a matching group's host/port values can override defaults, and exceptions can bypass an otherwise configured proxy.

Then account for system-level and platform-specific sources, a custom configuration directory and command-line overrides. Query the actual account/invocation's files rather than another user's home directory.

A viewer should label values by source and scope. One unqualified “system proxy” string loses both the host-specific decision and the distinction between user-file inputs and system policy.

Artihkkalat mat laktásit