Jeff Garoutte

c# .net and anything else that happens across my desk

The woes of SourceForge.net and SVN

It's no secret, I use SourceForge.net to work on an open source project ObjectHelpDesk.net and most of the code, patterns and nick nacks that I write about come from that project.  I also use TortoiseSVN coupled with VisualSVN to manage my source code.  Recently, as part of the Generics, Interfaces, Providers and You series I choose to branch from the trunk and rewrite the projects provider model.  When I was finished I attempted to merge them back together.

Recently, I updated Tortoise and VisualSVN so I now have version 1.5.1.  SO I switched my working copy back to the trunk, and attempted to reintegrate a branch into the trunk.

image

"Retrieval of mergeinfo unsupported by 'https://objecthelpdeskn.svn.sourceforge.net/...'" errr what?  So I did a little digging with my good friend Google.  What I found was a whole bunch of people having the same basic issue.  Turns out that SVN made a change around version 1.5 and added a mergeinfo command to make it so you do not have to remember what the last version you merged was so you do not double merge files by accident.  Great idea, except...

SourceForge.net is not running the 1.5 SVN server.  No problem, find the option to use an older merge method and away we go... So I searched, I looked, hunted and pondered.  For the life of me I could not find an option to "reintegrate" the branch into the trunk.  Back to Google for an answer.

I found one common suggestion, or fix, download an older client from before 1.5 and use that to do the merge.

Ok first, I hate downgrading.  Second, I just got everything installed on a new development machine and I am not about to go mucking about uninstalling tortoise so I can reinstall an older version just to do a merge because Sourceforge.net does not have the latest version of a SVN server.  So there had to be another option, one that seemed sane.

Let me explain, I refused to believe that the folks over at SourceForge.net would leave something like source control merges broken for any length of time.  On the other hand It seemed that SVN/TortoiseSVN would not go as far as to break their software with a "hub" of the open source community like SourceForge.net.  And there was another option right under my nose...

image

Merge two Different Tress.  Really, that is all we are doing, the trunk and branch are two different tress.  This merge method asks you which tree/revision you want to start with and which tree/revision you want to end up at and it makes in happen in your working copy.  Run the merge, compile the code and commit the changes.   

What surprised me was not the fix for the issue, but it was the number of posts about this message and people saying "Oh downgrade your client or upgrade the server" and that number of replies that said "thanks downgrading the client fixed it".  In the case of many open source projects, we depend on free tools and systems, like SourceForge.net to host our projects and we have no control over what version of source control repository software they gave installed (However, I do thank them for giving us a choice of source control repositories and being there).  I use VisualSVN heavily in Visual Studio and I cant just downgrade tortoise without affecting it and my development environment.  So using this "manual" fix seems like the sane method to me.

So if you run into a problem merging with an unsupported mergeinfo message do not just downgrade your client, try merging the two trees instead of reintegrating the branch into the trunk.

kick it on DotNetKicks.com

Comments

Mary Nicole Hicks Australia said:

Mary Nicole Hicks

Thanks, I refused to downgrade as I also connect to 1.5 version servers as well.

# December 16 2008, 19:50

Jeff United States said:

Jeff

With the more recent versions I have found it easier to switch to the trunk, use merge a range of revisions and select the branch and revision range.

# February 21 2009, 09:50

Politics News United States said:

Politics News

After reading the article, I feel that I need more information on the topic. Can you suggest some resources please?, Excellent post!

# November 10 2009, 20:54

honda dealer in new jersey United States said:

honda dealer in new jersey

Hi webmaster, commenters and everybody else !!! The blog was absolutely fantastic! Lots of great information and inspiration, both of which we all need!b Keep 'em coming... you all do such a great job at such Concepts... can't tell you how much I, for one appreciate all you do!



Regards and respect
Dtop


# December 06 2009, 20:52

sherpa pet carriers United States said:

sherpa pet carriers

I want to express my admiration of your writing skill and ability to make reader to read the while thing to the end

Regards
Lovern




# December 20 2009, 08:57

shawno United States said:

shawno

I have a local merges (trunk) and a local branch that correspond to the merges folder and a branch folder in the remote repository (sourceforge.net).  When using this 'Merge two different trees' option which local directory do I right-click on to invoke Tortoise?  What is the "To" URL and what is the "From" URL?

I guess I'd need to know these 3 parameters for both syncing my branch to merges as well as reintegrating my branch into merges.

Your help is deeply appreciated, as I am stuck!

shawno

# December 23 2009, 17:10

cars United States said:

cars

thanks for information. ilike your site

# January 15 2010, 19:01

Kristine Vilardi United States said:

Kristine Vilardi

We rarely must contact technology support, yet once i do We get a live person practically instantly, not some demeaning voice reply unit with 12 choices to choose from that most route to the identical location anyway. You can't beat obtaining quick reply to a phone call for aid. As well as the technical persons really recognize their things - you receive the equivalent of a tier 2 person instantly.it's no brainer but its certain really <a href="...hostingcompany.blogspot.com">affordable web hosting</a>.

# February 18 2010, 04:12

Fatcow United States said:

Fatcow

Should I get a Dedicated Hosting? At the moment I am using shared hosting but they keep turning off my websites due to high server load. Im getting about 2,000 UV a day. What hosting should I get?

# March 01 2010, 14:35

Fatcow Review United States said:

Fatcow Review

Should I get a VPS? Right now I am using fatcow but they keep disabling my account because of high server overload. Im getting about 2,000 UV a day. What hosting should I get?

# March 01 2010, 14:35

wow mobile United States said:

wow mobile

WoW Mobile is awesome! I get free mobile service with t-mobile because I refered 3 people to wow. You can too!

# March 03 2010, 09:21

Hypnose Germany said:

Hypnose

Of information, what a fantastic website and enlightening posts, I will increase backlink - bookmark this web site? Regards.

# March 09 2010, 06:10

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
Loading