delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/29/22:53:38

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 AT byu DOT 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 AT cygwin DOT com, jayrod AT gmail DOT com
CC: ian AT caliban DOT org
Subject: Re: /etc/bash_completion & svn/svk completion
References: <a34988160701291214t1bcd0c01u2979ccb4ca5e8904 AT mail DOT gmail DOT com>
In-Reply-To: <a34988160701291214t1bcd0c01u2979ccb4ca5e8904@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT byu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019