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

AW: [PATCH] commit --include-externals (v2)

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Tue, 8 Nov 2011 07:55:40 +0000


Von: Miha Vitorovic [mailto:miha.vitorovic_at_gmail.com]
>On 7.11.2011 16:08, Neels J Hofmeyr wrote:
>> Can you argue up a case where one would want a non-revision-pegged
>> external excluded from commit? I'm reluctant to take simply previous
>> externals behavior as argument, because externals have always sucked so far.
>I can :)
> I spend my days writing "code" in LabVIEW. In short, it's a graphical programming language. Its files are a sort of combination of source code and binary. We have our projects organized around a common framework The framework is included in the projects using externals. Don't ask me why, but recompiling a project also recompiles some framework files. As a result this marks them as modified for Subversion. And when committing the project we really don't want to have those framework files committed as well.

> I know it is not Subversion's fault this happens, but it is a use-case for not committing external files.

This looks more like an use case for an Ignore-on-Commit feature (like TortoiseSVN emulates via ChangeLists.).

The general problem is to ignore certain files / subdirs on commit, the recommended workaround sometimes is to use templates and the build system. Your workaround was using externals, as that just happened to work with SVN 1.6 and your project layout.

Received on 2011-11-08 08:56:36 CET

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.