Date: Mon, 4 Aug 2003 17:31:26 +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: <E36E0C5C92D97049B4855B5498A945470C8C51@weshml02.winbond.com.tw>
next in thread | raw e-mail | index | archive | help
Hi:
$ mkdir foo
$ cd foo
$ mkdir test
$ cvs export -r HEAD -d test/path path_in_repository
I tested again. For local repository, everything is OK, and for pserver, "cvs export" failed.
I checked the source code (cvs-1.11.2), and I found that "chdir" goes into the target directory ("test/path") directly
for local repository. But for pserver, cvs on server create a temp directory "/tmp/cvs-serv***", and the server did not
make dir "test", and then failed although directory "test" was created on the client.
Dear scop, is it possible to add function such as "mkdir" if the directories specified by "-d" is not found?
Best regards.
xhchen@winbond.com.tw
(21-62365999-1811)
Chen Xiaohui
-----原始邮件-----
发件人: scop@freebsd.org [mailto:scop@freebsd.org]
发送时间: 2003年8月4日 16:17
收件人: freebsd-cvsweb@freebsd.org
主题: Re: diff and tarball issues
On Mon, 2003-08-04 at 06:44, PC32 XHChen wrote:
> 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
Hmm. I have the same version, but a few remarks: because IIRC this was
an issue with tarballs, "cvs export" should be tested, not checkout.
And for me this works against a local repository:
$ mkdir foo
$ cd foo
$ mkdir test
$ cvs export -r HEAD -d test/path path_in_repository
Against a remote pserver repository it doesn't work for me, but that
shouldn't be an issue because only local repositories are supported by
CVSweb. FWIW, checkout produces the same results (works with local, not
with remote).
Could you try with a local repository (eg. locally on your CVS server)?
The addition of chdir() is probably safe but I'd like to verify that the
issue exists first.
--
\/
_______________________________________________
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"
===========================================================================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original author of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such person, please kindly reply the sender indicating accordingly and delete all copies of it from your computer and network server immediately. We thank you for your cooperation. It is advisable that any unauthorized use of confidential information of Winbond is strictly prohibited; and any information in this email that does not relate to the official business of Winbond shall be deemed as neither given nor endorsed by Winbond.===========================================================================================If your computer is unable to decode Chinese font, please ignore the following message. They essentially repeat the English statement above.Hҧtبql]ʾKʸT, ȱvoHHwHH\. ϱzëDQwHHΦ]]bgvΤU쥻H, бzioHHåߧYNHqqPAH. zX@, ڭ̥P. S, gvզۨϥεبqlKT欰OQYT. HPبql~Le,oبql߳ηN.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E36E0C5C92D97049B4855B5498A945470C8C51>
