[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svndumpfilter bash_completion does not show --pattern

From: Branko Čibej <brane_at_apache.org>
Date: Wed, 20 Sep 2017 07:44:54 +0200

On 19.09.2017 23:08, ycdtosa wrote:
> Hi. i have been nasty with some subversion dump files,
> and that got me using svndumpfilter quite a lot.
>
> One of the thinks that i learn is that --pattern does not show up
> when using bash_completion
>
> I think this is a (small) bug.
> Can anyone confirm it.
>
> Also, i did peek into 
> http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/bash_completion
>
> and while i can find other options at _svndumpfilter ()
>
> cmdOpts=
> case ${COMP_WORDS[1]} in
> exclude|include)
> cmdOpts="--drop-empty-revs --renumber-revs
> --skip-missing-merge-sources --targets
> --preserve-revprops --quiet"
> ;;
>
> --pattern is missing from the list.

Would you mind making a patch for that?

It's a pity that the bash-completion script is updated manually ...
ideally we'd auto-generate it from the sources.

(That's a hint for anyone who'd like to contribute a fairly easy patch :)

-- Brane
Received on 2017-09-20 07:44:59 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.