[email protected]
[Top] [All Lists]

Bug#299950: marked as forwarded (zsh: Better completion for "svn revert"

Subject: Bug#299950: marked as forwarded zsh: Better completion for "svn revert"
From: Debian Bug Tracking System
Date: Sat, 26 Mar 2005 16:48:31 -0800
Your message dated Sat, 26 Mar 2005 19:36:52 -0500
with message-id <[email protected]>
has caused the Debian Bug report #299950,
regarding zsh: Better completion for "svn revert"
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 299950-forwarded) by bugs.debian.org; 27 Mar 2005 00:36:54 +0000
>From [email protected] Sat Mar 26 16:36:53 2005
Return-path: <[email protected]>
Received: from acolyte.scowler.net [] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DFLlt-0006TJ-00; Sat, 26 Mar 2005 16:36:53 -0800
Received: by acolyte.scowler.net (Postfix, from userid 1000)
        id 575EE7004D; Sat, 26 Mar 2005 19:36:52 -0500 (EST)
Date: Sat, 26 Mar 2005 19:36:52 -0500
From: Clint Adams <[email protected]>
To: [email protected]
Cc: Vincent Lefevre <[email protected]>,
        [email protected]
Subject: Re: Bug#299950: zsh: Better completion for "svn revert"
Message-ID: <[email protected]>
Mail-Followup-To: [email protected],
        Vincent Lefevre <[email protected]>,
        [email protected]
References: <[email protected]> 
<[email protected]> <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

> This wouldn't be sufficient. In the first column, this would be at
> least 'A', 'D' (note that the file no longer exists, but completion
> should be able to give the deleted file) and 'M'. In the second
> column, this would be 'M'.

I'm not sure I understand.  Does this patch make it do the right thing?

Index: Completion/Unix/Command/_subversion
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_subversion,v
retrieving revision 1.8
diff -u -r1.8 _subversion
--- Completion/Unix/Command/_subversion 23 Jan 2005 19:56:09 -0000      1.8
+++ Completion/Unix/Command/_subversion 27 Mar 2005 00:32:18 -0000
@@ -21,6 +21,11 @@
   [[ -f ${(M)REPLY##*/}.svn/text-base/${REPLY##*/}.svn-base ]]
+(( $+functions[_svn_adm_files] )) ||
+_svn_adm_files() {
+  compadd ${${(M)${(f)"$(svn status)"}:#(#s)[ADM]*}##[ADM] ##}
 (( $+functions[_svn_urls] )) ||
 _svn_urls() {
   local expl
@@ -82,6 +87,11 @@
        '*:file:_files -g "*(e:_svn_controlled:)"'
+    (revert)
+      _svn_subcmds+=(
+       '*:file:_svn_adm_files'
+      )
+    ;;
       case $_svn_subcmd_usage in

To UNSUBSCRIBE, email to [email protected]xxxxxxxx
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#299950: marked as forwarded (zsh: Better completion for "svn revert"), Debian Bug Tracking System <=