subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Levy <andy.l...@gmail.com>
Subject Re: More questions
Date Tue, 14 Jun 2011 13:37:38 GMT
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@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.

Mime
View raw message