Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _subversion propset hackery



This isn't quite right, but it helps.

Index: Completion/Unix/Command/_subversion
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_subversion,v
retrieving revision 1.18
diff -u -r1.18 _subversion
--- Completion/Unix/Command/_subversion	2 Jun 2006 14:22:24 -0000	1.18
+++ Completion/Unix/Command/_subversion	12 Jul 2006 02:35:51 -0000
@@ -65,6 +65,13 @@
 	      '*:file:_files -g "*(e:_svn_controlled:)"'
             )
           ;;
+	  (propset)
+	    args=(
+	    ':propname:(svn:ignore svn:keywords svn:executable svn:eol-style svn:mime-type svn:externals svn:needs-lock)'
+	    ${args/(#b)(*--file*):arg:/$match[1]:file:_files}
+	    '*:path or url: _alternative "files:file:_files" "urls:URL:_svn_urls"'
+	    )
+	  ;;
           resolved)
             args+=(
               '*:file:_files -g "*(e:_svn_conflicts:)"'



Messages sorted by: Reverse Date, Date, Thread, Author