On 02/22/2012 02:20 PM, Konstantin Kolinko wrote:
2012/2/23 Evan Wee<ev...@nationalfibre.net>:

Strangely, other commands with * used will work, such as svn delete, svn
add, etc. Even svn commit * will work somewhat as it commits the modified
and added files, but not the deleted ones.

I had a discussion with others and their explanation is that the character *
refers to valid targets and thus deleted items are not targettable, hence
their being missed in the commit. Should this be a valid exception case for
svn commit so as to make it consistent with other svn commands?


The '*' filename pattern on Unixes is processed by the Shell before
the command is passed to Subversion. It matches only existing files.
Subversion cannot do anything with it.

Officially - see
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
Shell Command Language
->  2.6.6 Pathname Expansion

And even if this could be changed, you should just get in the practice of using . as a target instead, as if you do a merge and then 'svn commit *', you won't pick up the property change on the current working directory. In other words, you would have committed everything but the metadata to record the merge.

Blair


Reply via email to