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

RE: Single file externals plan

From: Damian Powell <damian_at_shadow-angel.com>
Date: Wed, 23 Apr 2008 08:39:29 +0100

> I'd use it.

We'd use it at our company too. We currently use intra-repo externals to
include config files. We fake single file externals though by having each
file in its own directory.

While you're looking at externals, here's a question: would it be possible
to commit changes to externals within the same transaction as the the commit
to the parent directory? Obviously this would only be possible intra-repo
but I think it's valid. It would also make sense to *not* do this by
default, but rather, have an option on 'svn commit' that allows it.

Here's my reasoning for this feature: we use externals as a convenient way
to compose a working copy. We use it to pull code for our shared libraries
and customised third-party libraries into a regular structure. We then
merrily go about editing for a work item which may touch shared libraries,
as well as standard project code. It would be useful then, to do recursive
commits (intra-repo) in the same transaction, much as Subversion can do
recursive updates (where there is an option to EXclude externals).

The atomicity of commits is one of the big features of SVN that was missing
in other VCSs in SVN's price range. ;) It's a shame that externals breaks
that feature.

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-23 10:02:03 CEST

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

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