zsh-workers
 help / color / mirror / code / Atom feed
From: "Mikael Magnusson" <mikachu@gmail.com>
To: zsh-workers <zsh-workers@sunsite.dk>
Subject: git-svn completion doesn't work
Date: Fri, 5 Oct 2007 16:26:05 +0200	[thread overview]
Message-ID: <237967ef0710050726v227ed8e3q3a92e68324c19bec@mail.gmail.com> (raw)

git-svn <tab> says "no match for: `command'" instead of completing
commands, not sure why. git-svn fetch <tab> said
_git-svn:154: command not found: (-i --id)-i[set GIT_SVN_ID]:GIT_SVN_ID
which I could fix with

@@ -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

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

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

@@ -2357,8 +2357,8 @@ _git-svn () {

       if [[ $line[1] == (fetch|clone|dcommit|set-tree|rebase|log) ]]; then
         arguments+=(
-          '(   --authors-file)'$author_conversion_file_arg
-          '(-A               )'$long_author_conversion_file_arg)
+          '(   --authors-file)'$long_author_conversion_file_arg
+          '(-A               )'$author_conversion_file_arg)
       fi

       # TODO: --repack-flags can be improved by actually completing the legal


-- 
Mikael Magnusson


             reply	other threads:[~2007-10-05 14:26 UTC|newest]

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

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=237967ef0710050726v227ed8e3q3a92e68324c19bec@mail.gmail.com \
    --to=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).