X-Spam-Check-By: sourceware.org
Message-ID: <45BEC132.6000006@byu.net>
Date: Mon, 29 Jan 2007 20:53:22 -0700
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin@cygwin.com, jayrod@gmail.com
CC: ian@caliban.org
Subject: Re: /etc/bash_completion & svn/svk completion
References: <a34988160701291214t1bcd0c01u2979ccb4ca5e8904@mail.gmail.com>
In-Reply-To: <a34988160701291214t1bcd0c01u2979ccb4ca5e8904@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jared Silva on 1/29/2007 1:14 PM:
> The command "svn update DIR<TAB>" results in "svn update DIR " instead
> of "svn update DIR/".  The same goes for svk.  The space being added
> instead of a slash is annoying.  Does anyone know what causes this and
> how to fix it?

This would be an upstream bug; I'm cc'ing the upstream maintainer to see
if we can get a response.

You can also try debugging it yourself.  At the command line, turn on the
options 'set -xv', then when you hit TAB, you will see what bash is trying
to do during the tab completion.  I don't personally use svn, so I'm not
the best candidate to help you fix the _svn() helper function used when
tab-completing svn, but compgen is loaded with options to try to help
decipher when to use directories with or without a trailing slash.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
volunteer cygwin bash_completion maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvsEx84KuGfSFAYARAliAAJ0ZeIteaG51LK0b9ybWt6PoWqK6bgCgkUrm
LD1OThXLiqZdGFcYoNmSmgs=
=JT+X
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

