On 22.11.2017 15:48, Evgeny Kotkov wrote:
> The other two features that I remember, are:
> * improved authz with support for wildcards
> * server-side search with `svn ls --search`
> Speaking of the `ls --search`, I think that there is an issue with the
> command-line parsing. Based on what I see, the --search argument may
> be interpreted as the target for listing, but not as the search pattern:
> svn ls --search *
> svn: warning: apr_err=SVN_ERR_WC_PATH_NOT_FOUND
> svn: warning: W155010: The node 'C:\Project\unversioned' was not found.
> ..\..\..\subversion\svn\list-cmd.c:453: (apr_err=SVN_ERR_ILLEGAL_TARGET)
> svn: E200009: Could not list all targets because some targets don't exist
> svn ls http://spbvo-ws09.ostyserver.net:8080/svn/master2 --search *
> svn: E155007: 'C:\AnotherProject' is not a working copy
There seems to be little that could be done here (suggestions welcome).
The problem is that the asterisk is being expanded by the shell itself.
I made SVN print its command line parameters and this is the result:
$ ./subversion/svn/svn ls svn://localhost/kde --search M*
That can be prevented by adding quotation marks:
$ ./subversion/svn/svn ls svn://localhost/kde --search "M*"
So, I extended the user docstring accordingly in r1817053.
Received on 2017-12-03 22:46:39 CET