Re: Adding a shorthand URL syntax to cwd's URL (was: Re: Automatically supply the origin URL in svn merge)

2020-03-27 Thread Daniel Shahaf
Anton Shepelev wrote on Sat, 28 Mar 2020 00:41 +00:00: > Daniel Shahaf: > > Tilde is also special to some shells, at least in the sh/csh > > «~username» syntax and in zsh's «foo~bar» syntax (also part of > > EXTENDED_GLOB); > > That is why I proposed a double `~' -- not perfect, of course, but > I

Re: Adding a shorthand URL syntax to cwd's URL (was: Re: Automatically supply the origin URL in svn merge)

2020-03-27 Thread Anton Shepelev
Daniel Shahaf: > Here are our notes about this from back when the ^/ syntax was > added: > > http://svn.apache.org/viewvc/subversion/trunk/notes/cli-repo-root-relative-support.txt?view=markup#l42 It takes care of cmd.exe, so ^^/ on Windows was a deliberate tradeoff on your part. > Tilde is also

Re: Adding a shorthand URL syntax to cwd's URL (was: Re: Automatically supply the origin URL in svn merge)

2020-03-27 Thread Daniel Shahaf
Anton Shepelev wrote on Fri, 27 Mar 2020 23:40 +00:00: > Daniel Shahaf: > > but in any case, this sounds quite reasonable. How about > > assigning it the syntax «^./» (caret, dot, slash)? That way we > > only have one "special" leading character to worry about. > > That ^ character must be escap

Re: Adding a shorthand URL syntax to cwd's URL (was: Re: Automatically supply the origin URL in svn merge)

2020-03-27 Thread Anton Shepelev
Daniel Shahaf: > > I had already written about an extension of the caret syntax > > to take the current working directory into account, so that, > > being in svn/trunk/project/xml/ , one does not have to type > > > > svn cp ^/trunk/project/xml/1.xml ^/trunk/project/xml/2.xml > > > > but can si

Adding a shorthand URL syntax to cwd's URL (was: Re: Automatically supply the origin URL in svn merge)

2020-03-27 Thread Daniel Shahaf
Anton Shepelev wrote on Fri, 27 Mar 2020 01:39 +0300: > Daniel Shahaf: > > > Yes, this feature won't happen unless someone invests time in > > making it happen -- but let's not discourage people from > > discussing feature ideas even if they may not personally have > > time to implement them. Disc

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 b