[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: File externals & feature requests

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 29 Jul 2009 11:38:41 +0200

On 28.07.2009 15:33, Bob Fletcher wrote:
>> three pages of externals?
>> I think here's your problem: you should seriously consider changing your
>> layout and think of a better solution. Subversion is not VSS where you
>> could do such dangerous things.
>> Really, externals should be *really* external. If you have that many
>> file externals, then you have not done a good job with capsuling your
>> objects.
>
> Perhaps you are right here Stefan, but that means that I have wasted a
> lot of time over the past couple of months. When I first learned of
> the availability of file externals, I decided to completely re-
> structure my repositories, combining several repos into a single repo.
> (My administrator was not particularly happy about this.) In my case
> I have a large number (~100) number crunching library routines. For a
> typical project, I would bring in a dozen or more of these routines.
> Previously, I would just make copies and hope that I could keep things
> synchronized (occasionally I have to modify one of the library
> routines). It seemed that the file externals feature was what I
> needed. However, for all of the reasons discussed in this thread, I am
> beginning to regret this move. I realize that mostly these are
> Subversion and not TSVN issues, but I sure hoped that TSVN could help
> out.

If you have such a large number of lib routines, you should put them all
into one or a few folders and then include that folder with an external.
There's no law that states that you have to use all files in such an
external folder - so just don't use those you don't need.

That approach also makes it much, much easier to create tags (i.e., add
the '-r XXX' to the external property) or even *notice* in an update
that something in an external has changed - if you have that many file
externals, I'm sure you will miss one day that one of those has changed
during an update and might cause problems.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2376536
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-07-29 11:38:55 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.