/[Apache-SVN]
ViewVC logotype

Revision 1445973


Jump to revision: Previous Next
Author: rhuijben
Date: Wed Feb 13 23:11:33 2013 UTC (11 years, 9 months ago)
Changed paths: 4
Log Message:
Allow svn_ra_get_file_revs2() and svn_repos_get_file_revs2() to report file
revisions backwards. This to allow optimizing 'svn blame' in a future
Subversion release without having to wait for yet another server upgrade
to support this new feature.

* subversion/include/svn_ra.h
  (svn_ra_get_file_revs2): Update documentation.

* subversion/include/svn_repos.h
  (svn_repos_get_file_revs2): Update documentation.

* subversion/libsvn_repos/rev_hunt.c
  (svn_repos_get_file_revs2): Update comment. Detect reversed arguments,
     which would originally just return an error or no revisions..
     and in that case reverse the revision array before walking it.

* subversion/tests/libsvn_repos/repos-test.c
  (test_get_file_revs): Extend test to also walk the revisions backwards.


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/svn_ra.h modified , text changed
Directorysubversion/trunk/subversion/include/svn_repos.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_repos/rev_hunt.c modified , text changed
Directorysubversion/trunk/subversion/tests/libsvn_repos/repos-test.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26