Checkout
Daniel Shahaf
committed
on 08 Nov
'info': Support multiple items in --show-item, as tab-separated values (TSV).

Suggested by: brane

Thread:
.
https://mail-archives.apaShow more
'info': Support multiple items in --show-item, as tab-separated values (TSV).

Suggested by: brane

Thread:

.

   https://mail-archives.apache.org/mod_mbox/subversion-dev/201911.mbox/%3Cf6dc88d3-8227-4f22-768c-2cf6ce70fcb7%40apache.org%3E

   Date: Thu, 7 Nov 2019 17:28:35 +0100

   From: Branko Čibej <brane@apache.org>

   To: dev@subversion.apache.org

   Subject: svn status tabbed output [was: Re: svn status should not show unmodified files in changelists]

   Message-ID: <f6dc88d3-8227-4f22-768c-2cf6ce70fcb7@apache.org>

* subversion/svn/info-cmd.c

 (print_info_baton_t::print_what): Rename to..

 (print_info_baton_t::print_whats): .. this.

 (find_print_what): Rename argument and parse it as a list.

 (print_info_item): Track changes to the baton.

 (svn_cl__info): Track changes to the baton.

* subversion/svn/svn.c

 (svn_cl__options."show_item"): Update docstring.

* subversion/tests/cmdline/info_tests.py

 (info_item_simple): Extend existing test case to unit test this feature.

Blocks that haven't been reindented in this commit will be reindented in the

next commit.

Show less