From: Wolfgang Scherer <Wolfgang.Scherer@gmx.de>
Subject: rcs2log script bug
Date: Wed, 11 Feb 2004 17:45:52 +0100 [thread overview]
Message-ID: <16426.23616.56103.322986@farmer.simul.de> (raw)
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
next reply other threads:[~2004-02-11 16:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-11 16:45 Wolfgang Scherer [this message]
[not found] <E1ArhBj-0007Vx-Ed@fencepost.gnu.org>
2004-02-15 7:52 ` rcs2log script bug Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16426.23616.56103.322986@farmer.simul.de \
--to=wolfgang.scherer@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.