diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2016-07-24 19:33:13 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2016-07-24 19:33:13 +0000 |
commit | 6c3d665108181a83896d412579b8470a79fc84d4 (patch) | |
tree | aebc0204075a1441823de0b3910a8e83c4aa53bd /subvertpy | |
parent | 041588068ae3719d2ac572ea5774ff19a20720b7 (diff) |
Reintroduce skip slash step.
Diffstat (limited to 'subvertpy')
-rw-r--r-- | subvertpy/_ra.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subvertpy/_ra.c b/subvertpy/_ra.c index 7d0bb0f0..37763b67 100644 --- a/subvertpy/_ra.c +++ b/subvertpy/_ra.c @@ -1591,6 +1591,9 @@ static PyObject *ra_get_file(PyObject *self, PyObject *args) return NULL; } + /* Yuck. Subversion doesn't like leading slashes.. */ + while (*path == '/') path++; + stream = new_py_stream(temp_pool, py_stream); if (stream == NULL) { apr_pool_destroy(temp_pool); |