r852679 | maxb | 2005-01-06 00:58:15 +0000 (Thu, 06 Jan 2005)
Fix issue 2181: Add "svnlook {propget,proplist} --revprop".
Patch by: Oliver Klozoff <stevieoh@fastmail.fm>
(Tweaked by me.)
* subversion/svnlook/main.c
(subcommand_plist, subcommand_pget):
Pass NULL for the path argument to do_plist/do_pget
when --revprop is specified.
(do_plist, do_pget):
When the 'path' argument is NULL, switch from svn_fs_node_proplist/
svn_fs_node_prop to svn_fs_revision_proplist/svn_fs_revision_prop.
* subversion/tests/clients/cmdline/svnlook_tests.py:
(run_svnlook, expect): New utility functions.
(test_youngest): Rename to...
(test_misc): ...this, and make it test a whole lot more.
(test_list): Added the new tests.
* subversion/tests/clients/cmdline/svntest/main.py
(run_command_stdin): New. Just like 'run_command',
except it allows the caller to specify data to be piped into
the command's stdin.