Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 20:43:19 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: Version numbers and diifs not being displayed
Message-ID:  <1063820598.31725.43.camel@bobcat.mine.nu>
In-Reply-To: <OF97F09BB6.D19B0E11-ON85256DA4.004909C5@radianz.com>
References:  <OF97F09BB6.D19B0E11-ON85256DA4.004909C5@radianz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2003-09-17 at 16:28, carol.kirkpatrick@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1063820598.31725.43.camel>