I'm not sure what you mean by single file checkout, but the problem you
describe seems to have a simple solution to me.
Organize your library project so that the source is in one directory and
the headers and objects go into another directory. Use the svn:external
attribute to 'attach' the library object and header directory to the
projects that depend on it. Then when you do a checkout on the other
projects, you'll get the library with them. If you want the source code
to the library, you explicitly check out the source directory, which
presumably you would configure your server to limit access to.
Flex wrote:
>You are going to shoot me right? :)
>
>Don't... at least not now :) I know this has been posted many MANY
>times, I know the answers too, but I haven't found an answer: "Why?"
>
>I have finally decided to move to a source control system and have
>done a heavy research. Years of work, lot of projects had to be
>cleaned and better managed. I have tried a lot of systems and have to
>admit - subversion is the absolute winner... until I moved the first
>project to the repository and tried to "attach" a file from another
>project to it. An I was unable to do.
>
>It was about just a huge library, lot of sources and about 10 or so
>projects using this library - they only needed updated headers and the
>object, nothing more so if I externally attached the whole library
>source folder that results in a mess in the projects using it and on
>top of that - some of the projects were "example" ones - built for the
>customers which were not supposed to receive the library source too.
>
>Taking into consideration how much similar libraries I have, how much
>"util" files I have that are used in different projects I started
>examining the docs very deep. My colleagues were using VSS but they
>have followed the research since they wanted to move too. However when
>I told them that SVN does not support single file checkout the answer
>was "It can't be true, I haven't heard of such a system not supporting
>that, even the VSS has it, so check out the docs, you have mistaken
>something." I whish I had. While keep telling to myself that I have to
>be in some kind of a huge mistake I went to the mailing lists archive
>and have done a search. 2290 results. The same question and the same
>answers. Read 3 pages before giving up. Hard to believe but that
>feature is really missing.
>
>So after some discussion we decided to move away from SVN and go to
>CVS since it does support it. However SVN is far ahead, it's just the
>perfect system with just one huge problem, I don't want to move away
>so I checked the bug reports and found it:
>http://subversion.tigris.org/issues/show_bug.cgi?id=823
>
>I'm just going to ask everyone from these 2290 or I don't know how
>much who have seen that, read a bit and just walked away - to vote for
>checkout single file to be added:
>http://subversion.tigris.org/issues/showvotes.cgi?voteon=823
>
>Thanks for your patience to read all this especially with my horrible
>English knowledge :)
>Have a nice day
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
Received on Thu Aug 18 04:40:39 2005