On 07.11.2019 12:13, Daniel Shahaf wrote: > P.S. Come to think of it, a tab-separated output mode for «svn info» might be > nice; that is, instead of this: > . > % svn info README > Path: README > Name: README > Working Copy Root Path: /home/daniel/src/svn/t1 > URL: https://svn.apache.org/repos/asf/subversion/trunk/README > Relative URL: ^/subversion/trunk/README > Repository Root: https://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1869138 > Node Kind: file > Schedule: normal > Last Changed Author: luke1410 > Last Changed Rev: 1746277 > Last Changed Date: 2016-05-31 14:07:51 +0000 (Tue, 31 May 2016) > Text Last Updated: 2019-09-23 18:43:22 +0000 (Mon, 23 Sep 2019) > Checksum: 0b8d04c92f856c0d66248cdccf031fb6c0f6e05e > Changelist: foo > . > we'd have this: > . > % svn info --tsv README > README README /home/daniel/src/svn/t1 … > > This would be one line per file, so it would be easier to parse in a shell > script.
Not with a new option. Instead --show-item should accept a comma-separated list of keywords. That's a backwards-compatible change that I recall being mentioned/requested a time or two (but it's also an API change). And we could add a catch-all keyword, e.g., 'all', as shorthand for 'print all attributes as tab-separated values'. -- Brane