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

Re: More questions

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 14 Jun 2011 09:37:38 -0400

Please use more descriptive subjects than "questions." It makes the
information much more searchable and helpful in the archives.

On Tue, Jun 14, 2011 at 09:15, Richard Cavell <richardcavell_at_mail.com> wrote:
> More noob questions about svn...
>
> 1.  Is using externals a good idea?
>
> I've been told that it's generally a bad idea, and it feels to me like a bad
> idea, since it obfuscates what's going on in the repo.  Is it often done for
> professional projects?

Like any tool, externals do have their purpose, but they aren't
appropriate everywhere. I don't really see how it "obfuscates"
anything when the information is readily available to anyone who wants
to look at it.

Personally I rarely use externals, but that's mostly because I don't
have a use for them very often - not because they're "bad." If someone
is telling you that they are "generally bad", I'd look closer at the
external uses they've had exposure to, to see if perhaps they were
used in appropriately.

> 2.  Is there a means of keeping part of a file private?  eg
>
> My password is xxxxxx
>
> where on my machine, the x's are replaced by some alphanumeric sequence, but
> someone who checks out the repo will not get the complete file.

No. If you need to keep something private, put it in a private branch
which only you have access to. Or don't version it in the first place.
Received on 2011-06-14 15:38:51 CEST

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