On 04.01.2018 05:28, James McCoy wrote

>> The other commands, "svn unshelve foo", "svn shelve --delete foo" and "svn
>> shelves" don't currently accept paths but maybe they could.
> I don't really see the use for that.  I referenced git's stash
> implementation, since I somewhat regularly use that, and was surprised
> to learn that it supports specifying paths when creating and listing
> stashes.

This is a trap we should steer well clear of. Git's way of handling its
checkout is fundamentally different from Subversion's handling of the
working copy: except for clone, you can't do anything outside the
checkout tree, and any command within it affects the whole tree.

Instead of looking at Git's semantics, it would be better to see how,
e.g., 'svn diff' works with regard to the default path and path
arguments, and make shelve consistent with that.

-- Brane

Reply via email to