On 07.11.2019 21:25, Daniel Shahaf wrote:
> Consider this:
>
> [[[
> % svn info INSTALL | grep Depth
> % svn info --show-item=depth INSTALL 
>
> % 
> ]]]
>
> Should the second command print "infinity" instead?


Files don't have depth, printing "infinity" would be wrong. The output
is empty on purpose. We _could_ invent a new depth keyword for this
case, if it's more convenient for parsing.


> P.S. Aside: --show-item=schedule doesn't exist.  Haven't checked whether
> any other fields are not selectable by --show-item..


In this particular case there's overlap between 'status' and 'info', and
'status' returns more details in the first several columns of its output
than 'info' could.

-- Brane

Reply via email to