/[Apache-SVN]
ViewVC logotype

Revision 1592724


Jump to revision: Previous Next
Author: danielsh
Date: Tue May 6 11:48:05 2014 UTC (10 years, 6 months ago)
Changed paths: 4
Log Message:
Follow-up to r3265 (r843339): In 'svn propget --revprop', error out on non-existing properties.

* subversion/svn/propget-cmd.c
  (svn_cl__propget): Handle the (propval == NULL) case.

* subversion/include/svn_client.h
  (svn_client_revprop_get): Document API behaviour on non-existing properties.

* subversion/tests/cmdline/svnadmin_tests.py
  (empty_date): Use exit code to verify lack of property.

* subversion/tests/cmdline/prop_tests.py
  (revprop_change): Same.  'propget' was actually already failing (with
    the expected E200017), but the test was ignoring the exit code.
    (I think the before-this-change code can never fail, since
    re.match('cha-ching', 'cha-ching\n') would return False.)

Changed paths

Path Details
Directorysubversion/trunk/subversion/include/svn_client.h modified , text changed
Directorysubversion/trunk/subversion/svn/propget-cmd.c modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/prop_tests.py modified , text changed
Directorysubversion/trunk/subversion/tests/cmdline/svnadmin_tests.py modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26