aboutsummaryrefslogtreecommitdiff
path: root/subversion/libsvn_ra/ra_loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/libsvn_ra/ra_loader.c')
-rw-r--r--subversion/libsvn_ra/ra_loader.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/subversion/libsvn_ra/ra_loader.c b/subversion/libsvn_ra/ra_loader.c
index 4afcb5969bb6..91c9cc14bcc9 100644
--- a/subversion/libsvn_ra/ra_loader.c
+++ b/subversion/libsvn_ra/ra_loader.c
@@ -1030,6 +1030,13 @@ svn_error_t *svn_ra_get_file_revs2(svn_ra_session_t *session,
if (include_merged_revisions)
SVN_ERR(svn_ra__assert_mergeinfo_capable_server(session, NULL, pool));
+ if (start > end)
+ SVN_ERR(
+ svn_ra__assert_capable_server(session,
+ SVN_RA_CAPABILITY_GET_FILE_REVS_REVERSE,
+ NULL,
+ pool));
+
err = session->vtable->get_file_revs(session, path, start, end,
include_merged_revisions,
handler, handler_baton, pool);