summaryrefslogtreecommitdiff
path: root/subvertpy
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2016-07-09 20:59:13 +0000
committerJelmer Vernooij <jelmer@jelmer.uk>2016-07-09 20:59:13 +0000
commitef0906bcb02ed629a363ab86fa92a00d05e6d99f (patch)
tree22809df4c04e1f4331a5df421def7fa1e43c87d3 /subvertpy
parent5f588660c680634d05443415e950d06808f9fed6 (diff)
Canonicalize URLs from ra repos root.
Diffstat (limited to 'subvertpy')
-rw-r--r--subvertpy/_ra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subvertpy/_ra.c b/subvertpy/_ra.c
index 229d881f..4f204c84 100644
--- a/subvertpy/_ra.c
+++ b/subvertpy/_ra.c
@@ -863,7 +863,7 @@ static PyObject *ra_get_repos_root(PyObject *self)
RUN_RA_WITH_POOL(temp_pool, ra,
svn_ra_get_repos_root(ra->ra, &root, temp_pool));
#endif
- ra->root = apr_pstrdup(ra->pool, root);
+ ra->root = svn_uri_canonicalize(root, ra->pool);
apr_pool_destroy(temp_pool);
}