From owner-freebsd-cvsweb@FreeBSD.ORG Mon Jul 28 11:32:02 2003 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A52D537B401 for ; Mon, 28 Jul 2003 11:32:02 -0700 (PDT) Received: from smtp1.pp.htv.fi (smtp1.pp.htv.fi [212.90.64.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 063B443F85 for ; Mon, 28 Jul 2003 11:32:02 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 511B37FCD0 for ; Mon, 28 Jul 2003 21:32:01 +0300 (EEST) Received: from cs78130147.pp.htv.fi (cs78130147.pp.htv.fi [62.78.130.147]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id h6SIW1529435 for ; Mon, 28 Jul 2003 21:32:01 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Message-Id: <1059417120.23194.103.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 (1.4.0-0.vs.1) Date: 28 Jul 2003 21:32:00 +0300 Content-Transfer-Encoding: 7bit Subject: Re: diff and tarball issues X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2003 18:32:02 -0000 On Wed, 2003-06-18 at 04:23, PC32 XHChen wrote: > The problem may be fixed by adding a "chdir" before "system" function in perl cgi, > since "cvs co -d" can not specify sub-directories. I'm not sure... [...] > > I got the same error when I use cvsweb. And the following > > difference was found: > > > > cvs co -d test ModulePath > > (OK) > > > > cvs co -d testdir/test ModulePath > > (ERROR) > > cvs co failure: No such file or directory: What version of cvs is this? (cvs --version) Does it work if you create "testdir" before running the latter command? > > When clicking A unified diff 'diff' for a given file, I get: > > > > RCS file: /home/tkralidi/cvsroot/owsview/blank.html,v > > retrieving revision 1.1 > > retrieving revision 1.2 > > diff -u -p -r1.1 -r1.2 > > /bin/diff: illegal option -- u > > usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2 > > diff [-bitw] [-C number] file1 file2 > > diff [-bitw] [-D string] file1 file2 > > diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] > > directory1 directory2 > > rcsdiff: /home/tkralidi/cvsroot/owsview/blank.html: diff failed I suggest that you either: * Install GNU diff (in the diffutils package) and make your setup use it (ie. rcsdiff(1) should run the GNU one instead of the one in /bin). * Or modify cvsweb.cgi, commenting out the @DIFFTYPES that your diff(1) doesn't grok, and change the default to a supported in cvsweb.conf (%DEFAULTVALUE). HTH, -- \/