A rational svn shelve/checkpoint CLI
From: Julian Foad <julianfoad_at_apache.org>
Date: Mon, 8 Jan 2018 13:31:06 +0000
Towards a more rational shelving-with-checkpoints CLI.
svn shelf-{save,shelve,unshelve,shelves,log,drop,diff}
SHELF_SPEC:
--shelf=[SHELF][.VERSION]
Specify shelf SHELF (name, 'all', 'newest'), version VERSION
--version=VERSION
Specify the default version for shelf specs in the command.
Aliases:
svn save -> svn shelf-save
Main commands:
svn save | shelf-save [@SHELF] [PATH...] # save only
defaults: SHELF:newest; PATH:'.'
svn unshelve | shelf-unshelve [@[SHELF][.VERSION]...] [PATH...]
defaults: SHELF:newest; VERSION:newest; PATH:'.'
Ancillary commands:
svn shelves | shelf-shelves [@SHELF...] [PATH...]
defaults: SHELF:all; PATH:'.'
svn shelf-log [@[SHELF][.VERSION]...] [PATH...]
defaults: SHELF:newest; VERSION:all; PATH:'.'
svn shelf-drop [@SHELF...]
defaults: SHELF:newest
svn shelf-diff [@[SHELF][.VERSION]...] [PATH...]
defaults: SHELF:newest; VERSION:newest; PATH:'.'
Thoughts:
The use of a distinctive shelf specifier is intended to avoid the
Using one-word subcommands like "shelf-drop" rather than "shelf drop" or
A common syntax for referring to a particular shelved change is helpful.
Perhaps we can take this further and achieve a syntax like "svn log
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.