Bind get_client_string callback of svn_ra_callbacks2_t for Python.
commitb04790e51b7d4ea274e01662551d6c12797608ae
authorepg <epg@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Fri, 21 Dec 2007 00:26:12 +0000 (21 00:26 +0000)
committerepg <epg@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Fri, 21 Dec 2007 00:26:12 +0000 (21 00:26 +0000)
tree188bc3db6c2813348c8e6934acd1737d9505c10f
parent5a5d6cf37ba765a64e43a8cba6f96c146b21e348
Bind get_client_string callback of svn_ra_callbacks2_t for Python.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
  (ra_callbacks_get_client_string): Add callback wrapper.
  (svn_swig_py_setup_ra_callbacks): Fill in get_client_string field with it.

* subversion/bindings/swig/python/svn/ra.py
  (Callbacks.get_client_string): Add new attribute, initially None.

* subversion/bindings/swig/python/tests/ra.py
  (test_namestring): Add test when URL starts with 'http'.  Since we
    can't yet run check-swig-py over http, this never runs.  But gvn
    tests this binding as of r636, so I know it works.

git-svn-id: http://svn.collab.net/repos/svn/trunk@28615 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
subversion/bindings/swig/python/svn/ra.py
subversion/bindings/swig/python/tests/ra.py