Re: svndumpfilter bash_completion does not show --pattern
From: ycdtosa <ycdtosa_at_gmail.com>
Date: Wed, 20 Sep 2017 13:43:31 +0200
not at all.
I just started, once i found where the script was installed, i just did a
There are two options to patch this.
1. do not disrupt the existing code: ( in my current installed code that
--- > --preserve-revprops --quiet > --pattern" 2. do keep the parameters in the same order that they appear on the docs. 1189c1189 < cmdOpts="--drop-empty-revs --renumber-revs --- > cmdOpts="--drop-empty-revs --pattern --renumber-revs Not sure which one is the preferred. I still have to read the docs about how to prepare a proper patch, and if i do have to take this to dev@ and send the patch. On Wed, Sep 20, 2017 at 7:44 AM, Branko Čibej <brane_at_apache.org> wrote: > 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 13:43:37 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.