Version numbers and diifs not being displayed
VilleSkyttä
scop at FreeBSD.org
Wed Sep 17 10:43:22 PDT 2003
On Wed, 2003-09-17 at 16:28, carol.kirkpatrick at radianz.com wrote:
> Hi,
Hi Carol, be sure to use freebsd-cvsweb@, not owner-freebsd-cvsweb@ as
the list address.
> I have installed the GNU difftools and have been able to get the
> differences to be displayed, but not the version. I insert a statement to
> print the header information out to web server error log as suggested in a
> previous email and the results are listed below. Any ideas?
>
> diff: '==================================================================='
> diff: 'RCS file: /opt/cvsroot/Hosting/Scripts/techtool_archive.pl,v, '
> diff: 'retrieving revision 1.1 '
> diff: 'retrieving revision 1.2 '
> diff: 'diff -u -r1.1 -r1.2'
> diff: '--- /tmp/T0.MaaVr 2003-09-17 12:56:38.591968289 +0000 '
> diff: '+++ /tmp/T1_MaaVr 2003-09-17 12:56:38.601971639 +0000 '
Hmm. Do you get the same rcsdiff headers (ie: a weird trailing comma in
the "RCS file:" line, /tmp/something instead of the real filename, and
no versions) if you run
rcsdiff -u -r1.1 -r1.2 /opt/cvsroot/Hosting/Scripts/techtool_archive.pl,v
from the command line, as the user running the cvsweb.cgi script? What
about the same without the ,v suffix? I tried to reproduce on a Solaris
8 box but the output was always as I expected, ie. something like:
% rcsdiff -u -r1.1 -r1.2 `pwd`/foo/foo/bar,v
===================================================================
RCS file: /m/fs/user1/a/18/scop/foo/foo/bar,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bar 2003/09/17 17:19:03 1.1
+++ bar 2003/09/17 17:19:15 1.2
...or if I run it without the trailing ,v:
% rcsdiff -u -r1.1 -r1.2 `pwd`/foo/foo/bar
===================================================================
RCS file: /m/fs/user1/a/18/scop/foo/foo/bar,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /m/fs/user1/a/18/scop/foo/foo/bar 2003/09/17 17:32:50 1.1
+++ /m/fs/user1/a/18/scop/foo/foo/bar 2003/09/17 17:33:23 1.2
More information about the freebsd-cvsweb
mailing list