Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
FeatureRequest: Improved svn:externals handling on Merge
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marcel Hesselbarth  
View profile  
 More options Jul 20 2012, 11:16 am
From: Marcel Hesselbarth
Date: Fri, 20 Jul 2012 16:16:11 +0100 (BST)
Local: Fri, Jul 20 2012 11:16 am
Subject: FeatureRequest: Improved svn:externals handling on Merge
Hi developers,

searching the mailing group seems like no posted my problem before, even if Google presents several hits.

The basic problem I have is I have a Project with svn:externals defined pointing into the same SVN. When I now make a commit the files changed inside the svn:externals folders are included - so all works great.

If I now try to merge these commit into a other checkout the changes inside the svn:externals are not merged. I need to do a separate merge at the svn:externals folders. Doing so works fine, but why I have to do this manually?
The merge of svn:externals is not done automatically independent of if the folder at the merge target is an linked svn:externals folder or a real folder. Or what I'm doing wrong?

Now some additional information to the use case:
Of cause I want to use these feature to share common code through svn:externals. I know google will tell me this is no good idea, but unfortunately don't come up with a better solution for organizing the source code. The only idea for avoiding svn:externals I found up to now is to build a common used dll first and embed these dll. Unfortunately this is not possible, as some parts of the shared source code need to be individually compiled into several dll's from the shared and the not shared areas.

So what do you think about this feature? I think it is the missing part at using svn:externals for efficient source code sharing...

With kind regards,
  Marcel Hesselbarth

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...

To unsubscribe from this discussion, e-mail: [[email address]].


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Küng  
View profile  
 More options Jul 20 2012, 2:24 pm
From: Stefan Küng
Date: Fri, 20 Jul 2012 20:24:34 +0200
Local: Fri, Jul 20 2012 2:24 pm
Subject: Re: FeatureRequest: Improved svn:externals handling on Merge
On 20.07.2012 17:16, Marcel Hesselbarth wrote:

First of all, this would have to be done in the svn library. So you'd
have to ask for this on the svn users mailing list.

But:
this will never work. An external is not connected with the original or
merge target working copy. The only thing that gets merged is the
svn:externals property. Once that's merged, it points to the merged
target, and that's the target that's used.

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...

To unsubscribe from this discussion, e-mail: [[email address]].


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcel Hesselbarth  
View profile  
 More options Jul 23 2012, 5:26 am
From: Marcel Hesselbarth
Date: Mon, 23 Jul 2012 02:26:48 -0700 (PDT)
Local: Mon, Jul 23 2012 5:26 am
Subject: RE: Re: FeatureRequest: Improved svn:externals handling on Merge
In fact this is working well, if I do 2 separate merges. So the merge itself done by snv library works well, and I think it is a question of the client to trigger the second merge operation.

So one more example to explain it in detail:
I have the following svn structure:
svn://svn/test/main/trunc
  svn:external Propery: svn://svn/test/sub/trunc sub
  File: Mainfile.txt
svn://svn/test/sub/trunc Project
  File: Subfile.txt

Now I make a branch and set the svn:external Propery:
svn://svn/test/main/branch1
  svn:external Propery: svn://svn/test/sub/branch1 sub
  File: Mainfile.txt
svn://svn/test/sub/branch1 Project
  File: Subfile.txt

On a Checkout of main Project this will result in the following file structures:
  mainTrunc
  | Mainfile.txt
  | sub
  | | Subfile.txt
  mainBranch
  | Mainfile.txt
  | sub
  | | Subfile.txt

If I make changes at Mainfile.txt and Subfile.txt at main in one commit with version 123. To merge these changes to the branch I have to do the following:
1. Go to mainBranch folder an merge svn://svn/test/main/trunc version 123
2. Go to mainBranch/sub folder and merge svn://svn/test/sub/trunc version 123
All information required for the 2. merge of the externals folder is already known by the tortoise client. It knows there are files at the svn://svn/test/sub/trunc folder included at these commit and it knows these files are loyally stored at mainBranch/sub.

And you are right the second merge can be done either by the tortoise client or the svn library. As the commit of externals is not recommended by snv and is helpfully done by the tortoise client I think the feature of merging of these external commits belongs to area of the tortoise client as well.

With kind regards,
  Marcel Hesselbarth

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...

To unsubscribe from this discussion, e-mail: [[email address]].


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcel Hesselbarth  
View profile  
 More options Jul 27 2012, 10:59 am
From: Marcel Hesselbarth
Date: Fri, 27 Jul 2012 07:59:15 -0700 (PDT)
Local: Fri, Jul 27 2012 10:59 am
Subject: RE: Re: FeatureRequest: Improved svn:externals handling on Merge
Hm.. no reply...
So I'm sorry You are just in a bad mood.
How can I help you out?

But being honest, I thing these Feature is important. As externals are silently included into commits it is easily overseen that a commit includes externals at merging. So if these externals are not merged or at least warned while merging they will be overseen -> an great source for new bugs...

With best regards,
  Marcel Hesselbarth

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...

To unsubscribe from this discussion, e-mail: [[email address]].


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan Küng  
View profile  
 More options Jul 27 2012, 11:33 am
From: Stefan Küng
Date: Fri, 27 Jul 2012 17:33:35 +0200
Local: Fri, Jul 27 2012 11:33 am
Subject: Re: FeatureRequest: Improved svn:externals handling on Merge
On 27.07.2012 16:59, Marcel Hesselbarth wrote:

> Hm.. no reply... So I'm sorry You are just in a bad mood. How can I
> help you out?

I don't have a bad mood, but I'm getting there.

> But being honest, I thing these Feature is important. As externals
> are silently included into commits it is easily overseen that a
> commit includes externals at merging. So if these externals are not
> merged or at least warned while merging they will be overseen -> an
> great source for new bugs...

What about
"First of all, this would have to be done in the svn library. So you'd
have to ask for this on the svn users mailing list."
didn't you understand?
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...

Stefan

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...

To unsubscribe from this discussion, e-mail: [[email address]].


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »