bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rcs2log script bug


From: Wolfgang Scherer
Subject: rcs2log script bug
Date: Wed, 11 Feb 2004 17:45:52 +0100


Hi,

we use CVS repositories in the following format:

  :pserver:user@host:port/cvs-root/repository
                     ^^^^

which are reported as bad repository names by rcs2log.

This patch fixes it.

--- rcs2log     2004/02/11 16:34:10     1.1
+++ rcs2log     2004/02/11 16:35:13
@@ -254,9 +254,9 @@
                *:/*:/*)
                        echo >&2 "$0: $CVSROOT: CVSROOT has multiple ':/'s"
                        exit 1;;
-               *:/*)
+               
*:/*|*:[0-9]/*|*:[0-9][0-9]/*|*:[0-9][0-9][0-9]/*|*:[0-9][0-9][0-9][0-9]/*|*:[0-9][0-9][0-9][0-9][0-9]/*)
                        # remote repository
-                       pository=`expr "X$repository" : '.*:\(/.*\)'`;;
+                       pository=`expr "X$repository" : '.*:[0-9]*\(/.*\)'`;;
                *)
                        # local repository
                        case $repository in




reply via email to

[Prev in Thread] Current Thread [Next in Thread]