* rcs2log
@ 2003-04-26 14:49 Thomas Dickey
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Dickey @ 2003-04-26 14:49 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
Two bugs noted (patch attached):
The script doesn't handle symbolic links to RCS directories.
A bogus hostname is applied to userid's that are not found on
the current system.
--
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
[-- Attachment #2: rcs2log.diff --]
[-- Type: text/plain, Size: 1567 bytes --]
--- rcs2log 2003/04/25 20:16:12 1.1
+++ rcs2log 2003/04/26 14:47:00
@@ -31,6 +31,9 @@
Id='$Id: rcs2log,v 1.50 2002/02/03 17:31:31 eggert Exp $'
+# modified to allow for symbolic links to RCS directories -T.Dickey
+# modified to avoid using bogus hostname for authors -T.Dickey
+
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002
# Free Software Foundation, Inc.
@@ -302,21 +305,21 @@
IFS=$nl
case $recursive in
t)
- RCSdirs=`find . -name RCS -type d -print`
+ RCSdirs=`find . -name RCS -print`
filesFromRCSfiles='s|,v$||; s|/RCS/|/|; s|^\./||'
files=`
{
- case $RCSdirs in
- ?*) find $RCSdirs \
- -type f \
+ for dir in $RCSdirs
+ do
+ ( cd $dir && \
+ find . -type f \
! -name '*_' \
! -name ',*,' \
! -name '.*_' \
! -name .rcsfreeze.log \
! -name .rcsfreeze.ver \
- -print;;
- esac
- find . -name '*,v' -print
+ -print | sed -e 's|^\./|'$dir/'|' )
+ done
} |
sort -u |
sed "$filesFromRCSfiles"
@@ -699,11 +702,12 @@
auth = fullname[author]
else
auth = author
- printf "%s%s %s ", date, zone, auth
+ printf "%s%s %s", date, zone, auth
if (mailaddr[author])
- printf "<%s>\n\n", mailaddr[author]
- else
- printf "<%s@%s>\n\n", author, "'"$hostname"'"
+ printf " <%s>", mailaddr[author]
+ else if (fullname[author])
+ printf " <%s@%s>", author, "'"$hostname"'"
+ printf "\n\n"
}
if (! filesknown[$1]) {
filesknown[$1] = 1
[-- Attachment #3: Type: text/plain, Size: 148 bytes --]
_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] 11+ messages in thread
* rcs2log
@ 2014-05-20 1:00 Glenn Morris
2014-05-20 8:03 ` rcs2log Paul Eggert
2014-05-20 13:48 ` rcs2log Stefan Monnier
0 siblings, 2 replies; 11+ messages in thread
From: Glenn Morris @ 2014-05-20 1:00 UTC (permalink / raw)
To: emacs-devel
Emacs's lib-src/rcs2log is semi-busted, as reported
http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg01107.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427167
7 years ago.
Does Emacs really need to supply rcs2log, or can we simply let people
get it as part of the cvs package (e.g. both Debian and Red Hat provide
it with `cvs').
If the former, then the Emacs version needs to be fixed.
(The CVS one was years ago.)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 1:00 rcs2log Glenn Morris
@ 2014-05-20 8:03 ` Paul Eggert
2014-05-20 13:48 ` rcs2log Stefan Monnier
1 sibling, 0 replies; 11+ messages in thread
From: Paul Eggert @ 2014-05-20 8:03 UTC (permalink / raw)
To: Glenn Morris, emacs-devel
Glenn Morris wrote:
> Emacs's lib-src/rcs2log is semi-busted, as reported
News to me. Thanks for reporting it; I installed a fix in emacs-24 bzr
117129.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 1:00 rcs2log Glenn Morris
2014-05-20 8:03 ` rcs2log Paul Eggert
@ 2014-05-20 13:48 ` Stefan Monnier
2014-05-20 14:41 ` rcs2log Eric S. Raymond
2014-05-20 15:10 ` rcs2log Paul Eggert
1 sibling, 2 replies; 11+ messages in thread
From: Stefan Monnier @ 2014-05-20 13:48 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
> Does Emacs really need to supply rcs2log, or can we simply let people
> get it as part of the cvs package (e.g. both Debian and Red Hat provide
> it with `cvs').
I'd expect any user of RCS/CVS to have rcs2log installed from elsewhere
already, indeed.
We could remove it from trunk and see if someone pays us enough to bring
it back.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 13:48 ` rcs2log Stefan Monnier
@ 2014-05-20 14:41 ` Eric S. Raymond
2014-05-20 15:10 ` rcs2log Paul Eggert
1 sibling, 0 replies; 11+ messages in thread
From: Eric S. Raymond @ 2014-05-20 14:41 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA>:
> > Does Emacs really need to supply rcs2log, or can we simply let people
> > get it as part of the cvs package (e.g. both Debian and Red Hat provide
> > it with `cvs').
>
> I'd expect any user of RCS/CVS to have rcs2log installed from elsewhere
> already, indeed.
> We could remove it from trunk and see if someone pays us enough to bring
> it back.
+1
I believe I wrote this a very long time ago, like in 1991-1992, to go
with the earliest versions of VC mode. It was just a workaround for a
report generator that should have existed in RCS at the time, there's
no real smarts in it. If it can be replaced by something CVS ships,
it should be.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 13:48 ` rcs2log Stefan Monnier
2014-05-20 14:41 ` rcs2log Eric S. Raymond
@ 2014-05-20 15:10 ` Paul Eggert
2014-05-20 15:41 ` rcs2log Eric S. Raymond
` (2 more replies)
1 sibling, 3 replies; 11+ messages in thread
From: Paul Eggert @ 2014-05-20 15:10 UTC (permalink / raw)
To: Stefan Monnier, Glenn Morris; +Cc: emacs-devel
Stefan Monnier wrote:
> I'd expect any user of RCS/CVS to have rcs2log installed
I wouldn't. RCS doesn't ship it, and CVS is often installed without it.
For example, on Fedora 20 it's part of the cvs-contrib package, not
the cvs package, and although I had CVS installed on my desktop I didn't
have rcs2log in /usr/bin because I didn't have cvs-contrib.
Besides, the version in Emacs is the True Version of rcs2log; the
version in cvs-contrib is a pale imitation (a ten-year-old fork without
a lot of fixes that are in Emacs).
Perhaps rcs2log should be moved to RCS or to CVS or both, but unless and
until it's reliably in its destination(s) Emacs should keep it around.
Eric S. Raymond wrote:
> I believe I wrote this a very long time ago
No, we can't pin this one on you. I wrote it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 15:10 ` rcs2log Paul Eggert
@ 2014-05-20 15:41 ` Eric S. Raymond
2014-05-20 15:43 ` rcs2log David Kastrup
2014-05-20 16:48 ` rcs2log Glenn Morris
2 siblings, 0 replies; 11+ messages in thread
From: Eric S. Raymond @ 2014-05-20 15:41 UTC (permalink / raw)
To: Paul Eggert; +Cc: Stefan Monnier, emacs-devel
Paul Eggert <eggert@cs.ucla.edu>:
> >I believe I wrote this a very long time ago
>
> No, we can't pin this one on you. I wrote it.
Looks like you did, yes.
I have dim memories of writing something like this as a VC-mode helper
for either RCS or SCCS, in order to drastically cut the complexity of the
Lisp in the mode. I guess whatever that was got plowed under long ago.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 15:10 ` rcs2log Paul Eggert
2014-05-20 15:41 ` rcs2log Eric S. Raymond
@ 2014-05-20 15:43 ` David Kastrup
2014-05-20 16:05 ` rcs2log Stephen Berman
2014-05-20 16:48 ` rcs2log Glenn Morris
2 siblings, 1 reply; 11+ messages in thread
From: David Kastrup @ 2014-05-20 15:43 UTC (permalink / raw)
To: Paul Eggert; +Cc: Stefan Monnier, emacs-devel
Paul Eggert <eggert@cs.ucla.edu> writes:
> Eric S. Raymond wrote:
>
>> I believe I wrote this a very long time ago
>
> No, we can't pin this one on you. I wrote it.
I am Spartacus.
--
David Kastrup
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 15:43 ` rcs2log David Kastrup
@ 2014-05-20 16:05 ` Stephen Berman
2014-05-21 3:32 ` rcs2log Stephen J. Turnbull
0 siblings, 1 reply; 11+ messages in thread
From: Stephen Berman @ 2014-05-20 16:05 UTC (permalink / raw)
To: David Kastrup; +Cc: Paul Eggert, Stefan Monnier, emacs-devel
On Tue, 20 May 2014 17:43:51 +0200 David Kastrup <dak@gnu.org> wrote:
> Paul Eggert <eggert@cs.ucla.edu> writes:
>
>> Eric S. Raymond wrote:
>>
>>> I believe I wrote this a very long time ago
>>
>> No, we can't pin this one on you. I wrote it.
>
> I am Spartacus.
I'm Brian!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 16:05 ` rcs2log Stephen Berman
@ 2014-05-21 3:32 ` Stephen J. Turnbull
0 siblings, 0 replies; 11+ messages in thread
From: Stephen J. Turnbull @ 2014-05-21 3:32 UTC (permalink / raw)
To: Stephen Berman; +Cc: David Kastrup, emacs-devel, Stefan Monnier, Paul Eggert
Stephen Berman writes:
> On Tue, 20 May 2014 17:43:51 +0200 David Kastrup <dak@gnu.org> wrote:
>
> > Paul Eggert <eggert@cs.ucla.edu> writes:
> >
> >> Eric S. Raymond wrote:
> >>
> >>> I believe I wrote this a very long time ago
> >>
> >> No, we can't pin this one on you. I wrote it.
> >
> > I am Spartacus.
>
> I'm Brian!
Since when is this a Python list?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rcs2log
2014-05-20 15:10 ` rcs2log Paul Eggert
2014-05-20 15:41 ` rcs2log Eric S. Raymond
2014-05-20 15:43 ` rcs2log David Kastrup
@ 2014-05-20 16:48 ` Glenn Morris
2 siblings, 0 replies; 11+ messages in thread
From: Glenn Morris @ 2014-05-20 16:48 UTC (permalink / raw)
To: Paul Eggert; +Cc: Stefan Monnier, emacs-devel
Thanks for the speedy fixes.
Maybe contact help-rcs@gnu.org about getting it into RCS?
The Emacs version installs into libexec/, so is not even in the PATH
outside Emacs. It doesn't seem to do anything that is specific to Emacs.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-05-21 3:32 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-26 14:49 rcs2log Thomas Dickey
-- strict thread matches above, loose matches on Subject: below --
2014-05-20 1:00 rcs2log Glenn Morris
2014-05-20 8:03 ` rcs2log Paul Eggert
2014-05-20 13:48 ` rcs2log Stefan Monnier
2014-05-20 14:41 ` rcs2log Eric S. Raymond
2014-05-20 15:10 ` rcs2log Paul Eggert
2014-05-20 15:41 ` rcs2log Eric S. Raymond
2014-05-20 15:43 ` rcs2log David Kastrup
2014-05-20 16:05 ` rcs2log Stephen Berman
2014-05-21 3:32 ` rcs2log Stephen J. Turnbull
2014-05-20 16:48 ` rcs2log Glenn Morris
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.