Daniel K. Theemann

Proud dad to Frida, a UEFA A student and football coach.

  • Home
  • Coaching CV
  • Coaching drills
  • Projects
  • Contact
  • Credits
  • Medias
    • Geusselt Cup 2011
  • KFC U14 (Forår 2012)
Twitter RSS

Merging with svn, problems?!

Posted on 20.11.2008 by Daniel K. Theemann
No CommentsLeave a comment
[Translate]

As a developer you often merge branches into the trunk when developing software, where the branch and trunk is fully synched. This scenario usually not give any problems when merging, here you can just use the svn –reintegrate.

But when you are going to merge an unsynched branch into the trunk, different problems will come up. Usually you have to deal with:

  1. What revision to merge from?
  2. Conflicts to resolve “manually” (you have tools to assist you, but never trust them entirely. Always check their merge results before commit)

To resolve problem 1, you can use the following command:

svn log --stop-on-copy -r1:HEAD the URL to your branch --limit 1
------------------------------------------------------------------------
r685 | dkt | 2008-08-18 16:02:43 +0200 (Mon, 18 Aug 2008) | 1 line
------------------------------------------------------------------------

Now I know what revision to merge from, so I can merge with the following svn command:

svn merge -r 685:HEAD URL to your branch

Finally, you have to resolve your conflicts manually…

So my point is, either try to keep your branched fully synched with the trunk, then merging is going less painful or use the scenario presented above.

Please comment with your experiences or disagreements to my post.

Possibly Related Posts:


Tags: svn
Categories: SVN | Tags: svn
Notice: This work is licensed under a BY-NC-SA. Permalink: Merging with svn, problems?!
Will be coaching U12-boys in AaBK
Will be moving this weekend

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

*


question razz sad evil exclaim smile redface biggrin surprised eek confused cool lol mad twisted rolleyes wink idea arrow neutral cry mrgreen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Recent Posts

    • M2: Kolding FC (3 – 4) Varde IF
    • Pokal: Kolding FC (0 – 2) Esbjerg fB
    • M2: Kolding FC (2 – 1) Vejen SF
    • M2: Hjerting IF (2 – 5) Kolding FC
    • M2: Ølgod IF (5 – 2) Kolding FC
  • TWEETS…

    Daniel: We had the play and Chelsea had the luck tonight. A very disappointing season for us. 3 times no. 2. #fcbayern
    1 day ago
    Daniel: Come on Bayern. Finish it and let the CL trophy stay in Munich after the final whistle. #fcbayern #cl
    1 day ago
    Daniel: New Blog Post - M2: Kolding FC (3 - 4) Varde IF. Read it now at http://t.co/l74n6Yhq #coachingfamily
    6 days ago
  • Topics

    1v1 offensive aabk awards bpel build-up play christmas coaching Conferences Cycling dbu Diploma IT drills football geusselt-cup-2011 grassroots java jm kolding FCU laptop Linux motivation MySQL Personal PHP pokal possession play pressing recovery Soccer svn switch of play tactics theemann.dk U12 U13 U14 ubuntu uefa wing play work Youth development
  • Last read

    ISBN: 1905928084
  • Who's Online

    0 visitors online now
    0 guests, 0 members
© Daniel K. Theemann. Proudly Powered by WordPress | Nest Theme by YChong
English English powered byGoogle