Re: Tab completing URL arguments in the shell (was: Re: Automatically supply the origin URL in svn merge)

2020-03-27 Thread Johan Corveleyn
On Thu, Mar 26, 2020 at 10:36 PM Daniel Shahaf  wrote:
>
> Stefan Sperling wrote on Thu, 26 Mar 2020 21:02 +00:00:
> > The ultimate goal here is to allow users to type less characters when
> > starting merges. Scripting tab-completion for SVN URL arguments into
> > your favourite shell would also be a usable and effective solution.
>
> What would the algorithm be?

This reminds me, I once saw a patch being posted about bash URL
completion. For some reason it wasn't picked up properly back in 2012.
I never looked into it in detail, but here's a pointer FWIW:

First on the users list:
https://svn.haxx.se/users/archive-2012-07/0194.shtml

The OP got redirected to the dev list:
https://svn.haxx.se/dev/archive-2012-07/0291.shtml

-- 
Johan


Tab completing URL arguments in the shell (was: Re: Automatically supply the origin URL in svn merge)

2020-03-26 Thread Daniel Shahaf
Stefan Sperling wrote on Thu, 26 Mar 2020 21:02 +00:00:
> The ultimate goal here is to allow users to type less characters when
> starting merges. Scripting tab-completion for SVN URL arguments into
> your favourite shell would also be a usable and effective solution.

What would the algorithm be?