summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2020-01-18 13:22:04 +0100
committerAndrej Shadura <andrewsh@debian.org>2020-01-19 13:24:31 +0100
commitfb86dc09c46de13fdecc1346c45ce8025864bd69 (patch)
treed3f8c7279666be5cf3ec32b6c6bad164a59d2230
parent71ab89a987d241623bf713d19d422478b986f44b (diff)
Add RemoteAccess.get_url() again for backwards compatibility with 0.10 APIHEADarchive/debian/0.11.0_git20191228+2423bf1-1master
Gbp-Pq: Name compat-api.patch
-rw-r--r--subvertpy/_ra.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/subvertpy/_ra.c b/subvertpy/_ra.c
index 0757ac17..067457a2 100644
--- a/subvertpy/_ra.c
+++ b/subvertpy/_ra.c
@@ -2255,6 +2255,9 @@ static PyGetSetDef ra_getsetters[] = {
static PyMethodDef ra_methods[] = {
{ "get_session_url", (PyCFunction)ra_get_session_url, METH_NOARGS,
"S.get_session_url() -> url" },
+ /* 0.10 compatiblity shim */
+ { "get_url", (PyCFunction)ra_get_session_url, METH_NOARGS,
+ "S.get_url() -> url" },
{ "get_file_revs", ra_get_file_revs, METH_VARARGS,
"S.get_file_revs(path, start_rev, end_revs, handler)" },
{ "get_locations", ra_get_locations, METH_VARARGS,