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

Re: svn merge changes mergeproperty of externals

From: pjtr hahn <pjtr.hahn_at_googlemail.com>
Date: Fri, 20 Nov 2009 11:41:14 +0100

I forgot to mention my system: svn version 1.6.6 @ Vista 64bit

Please tell me your experience with that! No one outthere having this
problem? Maybe I'm completely wrong in my understanding of how it is
supposed to work. Tell me!

2009/11/18 pjtr hahn <pjtr.hahn_at_googlemail.com>:
> Hello,
>
> I've just noticed svn merge changes mergeproperty of externals and was
> wondering if this shouldn't be considered a bug.
>
> Example:
>
> trunk/mylib/externals/some_file_external.foo
>
> branches/mylib_featurebranch/externals/some_file_external.foo
>
> If I make some change to files (not externals) in trunk/mylib and
> later try to merge them to my feature branch to keep it in sync with
> the trunk, svn also changes the merge property of externals.
>
> I think this is semantically wrong because since
> some_file_external.foo actually is an external it  exactly the same
> file in both branches. For my understanding externals shouldn't get
> considered for merging operations at all. At least some option to
> ignore externals on merge would be usefull.
>
> Also there is no option to ignore externals on commit, so the only way
> to get things rigth in this case is to do:
>
> svn up --set-depth empty
> svn up --set-depth infinity --ignore-externals
> svn merge ........
> svn up
>
> What do you think?
>
> regards,
>
> Peter
>
> P.S.:
> Maybe it would be a good idea to solve a lot of similiar problems that
> are currently existing with externals and their interpretation by
> creating another class of links.
> I think the main problem with externals is, that there are currently
> two different possible use cases.
>
> 1.) Externals are dependencies/external recources that are independent
> from the project code and shouldn't be considered for any operations
> by default (except for checkout, status and maybe update). This is the
> original meaning I think.
> 2.) Externals are some sort of soft-/hardlink to common code used in
> different parts of your project.
>
> Maybe thinks would get more clear and easier if the second case would
> be another class LINK type.
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2420477

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-20 11:42:41 CET

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

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