Version numbers and diifs not being displayed
carol.kirkpatrick at radianz.com
carol.kirkpatrick at radianz.com
Thu Sep 18 07:15:32 PDT 2003
Ville,
The output is the same (see below). Is there anyway to determine the exact
version of rcsdiff and diff that is being used. I downloaded the tools
last week. Thanks for your help.
$ rcsdiff -u -r1.1 -r1.2 techtool_archive.pl,v
===================================================================
RCS file: techtool_archive.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /tmp/T0CVaiVx 2003-09-18 14:08:41.433508430 +0000
+++ /tmp/T1DVaiVx 2003-09-18 14:08:41.443513401 +0000
@@ -60,13 +60,3 @@
closedir TECHTOOL;
}
#Archive the daily files - testing
-$type="daily";
-archivedir($type);
-$type="dailyxls";
-archivedir($type);
-#Archive the weekly files
-$type="weekly";
-archivedir($type);
-$type="weeklyxls";
-archivedir($type);
-
$ rcsdiff -u -r1.1 -r1.2 techtool_archive.pl
===================================================================
RCS file: techtool_archive.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /tmp/T0ZraOVx 2003-09-18 14:09:08.214238058 +0000
+++ /tmp/T10raOVx 2003-09-18 14:09:08.224242128 +0000
@@ -60,13 +60,3 @@
closedir TECHTOOL;
}
#Archive the daily files - testing
-$type="daily";
-archivedir($type);
-$type="dailyxls";
-archivedir($type);
-#Archive the weekly files
-$type="weekly";
-archivedir($type);
-$type="weeklyxls";
-archivedir($type);
-
++++++++++++++++++++++++++++
Carol Kirkpatrick,PhD
Senior Applications Engineer
Tel: +973-662-3206
carol.kirkpatrick at radianz.com
Imagination is more important than knowledge. Knowledge is
limited. Imagination encircles the world. - Albert Einstein
++++++++++++++++++++++++++++
Ville Skyttä
<scop at FreeBSD.org> To: freebsd-cvsweb at FreeBSD.org
Sent by: cc:
owner-freebsd-cvsweb@ Subject: Re: Version numbers and diifs not being displayed
freebsd.org
09/17/2003 01:43 PM
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
_______________________________________________
freebsd-cvsweb at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb
To unsubscribe, send any mail to "freebsd-cvsweb-unsubscribe at freebsd.org"
More information about the freebsd-cvsweb
mailing list