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
* new commands would have this structure from the start (e.g., 'svn
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.
Received on 2019-11-08 16:02:51 CET