Date: Mon, 4 Aug 2003 11:44:24 +0800 From: "PC32 XHChen" <XHChen@Winbond.com.tw> To: "Ville Skytt?" <scop@freebsd.org>, <freebsd-cvsweb@freebsd.org> Subject: =?utf-8?b?562U5aSNOiBkaWZmIGFuZCB0YXJiYWxsIGlzc3Vlcw==?= Message-ID: <E36E0C5C92D97049B4855B5498A945470C8C50@weshml02.winbond.com.tw>
next in thread | raw e-mail | index | archive | help
Hi: the error still exists even though "testdir" was created. my system information: CVS: Client: Concurrent Versions System (CVS) 1.11.2 (client/server) Server: Concurrent Versions System (CVS) 1.11.2 (client/server) OS: Linux localhost.localdomain 2.4.18-14 #1 Wed Sep 4 12:13:11 EDT 2002 i686 athlon i386 GNU/Linux -----原始邮件----- 发件人: scop@freebsd.org [mailto:scop@freebsd.org] 发送时间: 2003年7月29日 2:32 收件人: freebsd-cvsweb@freebsd.org 主题: Re: diff and tarball issues 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, -- \/ _______________________________________________ freebsd-cvsweb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-cvsweb To unsubscribe, send any mail to "freebsd-cvsweb-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E36E0C5C92D97049B4855B5498A945470C8C50>
