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

Re: svn status should not show unmodified files in changelists

From: Branko Čibej <brane_at_apache.org>
Date: Fri, 8 Nov 2019 16:02:48 +0100

On 08.11.2019 10:48, Daniel Shahaf wrote:
> Nathan Hartman wrote on Fri, Nov 08, 2019 at 00:58:29 -0500:
>> In my mind, listing changelists (and which files are "in" them) should
>> be a documented part of the changelist feature, not something achieved
>> by a non-obvious invocation of 'svn status'.
>>
>> 'svn changelist --list' is not congruent to the way properties and
>> shelves are listed; i.e., those have a separate top-level command like
>> 'svn proplist'. So, perhaps 'svn changelists' (plural)? That lines up
>> with 'svn x-shelves', but I don't like that it differs only by one
>> letter from 'svn changelist'.
> Bikeshed, but: «svn changelist-list».
>
> That's analogous to both «proplist» and «x-shelf-list».

We could (should?) introduce subcommands. For example:

  * 'svn proplist' would become shorthand for the canonical 'svn prop list'
  * 'svn changelist' would become shorthand for the canonical 'svn
    changelist add'
  * new commands would have this structure from the start (e.g., 'svn
    x-shelf list')

and so on. It would need some support in the parser and some design
decisions (e.g., can you put options between the command and its
subcommand? can different subcommands accept different options? etc.).

In any case something like this would let us structure the commands more
logically whilst also keeping backward compatibility.

-- Brane
Received on 2019-11-08 16:02:51 CET

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