Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git-svn completion doesn't work
- X-seq: zsh-workers 23908
- From: Clint Adams <clint@xxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: git-svn completion doesn't work
- Date: Fri, 5 Oct 2007 20:55:03 -0400
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <237967ef0710050726v227ed8e3q3a92e68324c19bec@xxxxxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0710050726v227ed8e3q3a92e68324c19bec@xxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author