bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: import doesn't create directories in the repository for empty


From: Derek Robert Price
Subject: Re: import doesn't create directories in the repository for empty
Date: Tue, 16 Mar 2004 12:37:18 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Galen Seitz wrote:

> As you can see below, I followed the steps shown in section
>
>3.1.3.  During the import only the directory path specified on the import
>command line gets created.  The empty subdirs in my working directory
>are not created in the repository.  I haven't even tried to do a
>checkout, because an ls of the repository shows that the subdirs are
>missing.


Ah, yes.  You are correct.  An import of empty directories works in
:local: mode, but not in :*server: modes, so I would personally consider
that a bug.  I would guess that it would have something to do with
client_process_import_file() only being called for files and not
directories on a CVS client.  There should be an existing client/server
protocol call that simply creates the directories on the server...
Something like that is being used with `cvs add' I think, I can't recall
exactly, but it should be doable.

Patches gratefully accepted!

Derek

- --
                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQFAVztNLD1OTBfyMaQRAnDHAKDw5hclQHJ3SDhN2toPL4VBsatorwCg7PBn
F++adZGS0RowkTXZPvHh7Ys=
=L0UD
-----END PGP SIGNATURE-----






reply via email to

[Prev in Thread] Current Thread [Next in Thread]