[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] svnlook --revprop patch, take three

From: Oliver Klozoff <stevieoh_at_fastmail.fm>
Date: 2004-12-14 15:34:10 CET

[Julian: Thank you for your patience and guidance :)]

This patch adds --revprop support to svnlook propget and svnlook proplist.
It also adds more basic regression tests for other svnlook subcommands.

-- Stevie-O
Real programmers use COPY CON PROGRAM.EXE

--- log message follows ---

* 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
     (test_propget_revprop): New. Tests 'svnlook propget --revprop'.
     (test_propget_revprop_missing): New. 'Tests svnlook --revprop'
       for a revision property that doesn't exist.
     (test_proplist_revprop): New. Tests 'svnlook proplist --revprop'.
     (test_uuid): New. Tests 'svnlook uuid'.
     (test_logmsg): New. Tests 'svnlook log'.
     (test_author): New. Tests 'svnlook author'.
     (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 (needed by 'test_uuid').

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Dec 14 15:35:28 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.