zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh-workers <zsh-workers@sunsite.dk>
Subject: Re: git-svn completion doesn't work
Date: Fri, 5 Oct 2007 20:55:03 -0400	[thread overview]
Message-ID: <20071006005503.GA21782@scowler.net> (raw)
In-Reply-To: <237967ef0710050726v227ed8e3q3a92e68324c19bec@mail.gmail.com>

On Fri, Oct 05, 2007 at 04:26:05PM +0200, Mikael Magnusson wrote:
> @@ -2472,7 +2472,7 @@ _git-svn () {
>          '(-h -H --help)'{-h,-H,--help}'[display usage information]' \
>          '(-V --version)'{-V,--version}'[display version information]' \
>          '--minimize-connections[undocumented]' \
> -        '(-R --svn-remote --remote)'{-R,--svn-remote,--remote}'[svn
> remote to use]:svn remote:__git_svn-remotes'
> +        '(-R --svn-remote --remote)'{-R,--svn-remote,--remote}'[svn
> remote to use]:svn remote:__git_svn-remotes' \
>          '(-i --id)'{-i,--id}'[set GIT_SVN_ID]:GIT_SVN_ID'
>          $arguments && ret=0

Committed.

> however, then it moved on to saying
> _git-svn:155: command not found: --username=[username to use for SVN
> transport]:username:_users

Try this.

Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.42
diff -u -r1.42 _git
--- Completion/Unix/Command/_git	6 Oct 2007 00:48:15 -0000	1.42
+++ Completion/Unix/Command/_git	6 Oct 2007 00:54:33 -0000
@@ -2473,7 +2473,7 @@
         '(-V --version)'{-V,--version}'[display version information]' \
         '--minimize-connections[undocumented]' \
         '(-R --svn-remote --remote)'{-R,--svn-remote,--remote}'[svn remote to use]:svn remote:__git_svn-remotes' \
-        '(-i --id)'{-i,--id}'[set GIT_SVN_ID]:GIT_SVN_ID'
+        '(-i --id)'{-i,--id}'[set GIT_SVN_ID]:GIT_SVN_ID' \
         $arguments && ret=0
 
       case $state in

> and I have no idea why it does that. I also believe this change should
> be done but not sure:

I don't think so.


      reply	other threads:[~2007-10-06  0:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 14:26 Mikael Magnusson
2007-10-06  0:55 ` Clint Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071006005503.GA21782@scowler.net \
    --to=clint@zsh.org \
    --cc=mikachu@gmail.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).