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

[weasel@xxxxxxxxxx: Bug#238843: zsh: cvs tags may include + sign]



Committing this.

----- Forwarded message from Peter Palfrader <weasel@xxxxxxxxxx> -----

Date: Fri, 19 Mar 2004 12:36:47 +0100
From: Peter Palfrader <weasel@xxxxxxxxxx>
To: Debian Bug Tracking System <submit@xxxxxxxxxxxxxxx>
Subject: Bug#238843: zsh: cvs tags may include + sign

Package: zsh
Version: 4.1.1-11
Severity: minor
Tags: patch

Hi,

cvs tag files may include plus signs, the regex however filters those
away.


--- /usr/share/zsh/4.1.1/functions/Completion/Unix/_cvs	2004-03-19 12:34:49.000000000 +0100
+++ _cvs	2004-03-19 12:34:47.000000000 +0100
@@ -794,7 +794,7 @@
       _cvs_revisions_cache=(
 	$(CVS_IGNORE_REMOTE_ROOT= _call_program tags cvs -d "$cvsroot" -q status -vl .|
 	  sed -n -e '/No Tags Exist/d' \
-		 -e 's/^	\([A-Za-z][-_0-9A-Za-z]*\).*/\1/p'|
+		 -e 's/^	\([A-Za-z][-_0-9A-Za-z+]*\).*/\1/p'|
 	  sort|uniq)
       )
     else

----- End forwarded message -----



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