<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.phpgedview.net/en/index.php?action=history&amp;feed=atom&amp;title=Merge_SVN_Branches</id>
	<title>Merge SVN Branches - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.phpgedview.net/en/index.php?action=history&amp;feed=atom&amp;title=Merge_SVN_Branches"/>
	<link rel="alternate" type="text/html" href="https://wiki.phpgedview.net/en/index.php?title=Merge_SVN_Branches&amp;action=history"/>
	<updated>2026-05-26T17:53:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.phpgedview.net/en/index.php?title=Merge_SVN_Branches&amp;diff=9047&amp;oldid=prev</id>
		<title>Nathanhaigh: Developers Guide:Merging Branches moved to Merge SVN Branches: not a valid namespace</title>
		<link rel="alternate" type="text/html" href="https://wiki.phpgedview.net/en/index.php?title=Merge_SVN_Branches&amp;diff=9047&amp;oldid=prev"/>
		<updated>2007-11-11T10:38:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/en/index.php/Developers_Guide:Merging_Branches&quot; class=&quot;mw-redirect&quot; title=&quot;Developers Guide:Merging Branches&quot;&gt;Developers Guide:Merging Branches&lt;/a&gt; moved to &lt;a href=&quot;/en/index.php/Merge_SVN_Branches&quot; title=&quot;Merge SVN Branches&quot;&gt;Merge SVN Branches&lt;/a&gt;: not a valid namespace&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Merging Branches in SVN==&lt;br /&gt;
&lt;br /&gt;
The following steps can help you with merging branches in SVN.  You must have the branch you are merging into checked out on your local filesystem.  &lt;br /&gt;
&lt;br /&gt;
This example shows how to merging changes from the main trunk into the 4.2 branch.  Commands shown are from the SVN command line client:&lt;br /&gt;
* Update your local copy of the 4.2 branch (svn update)&lt;br /&gt;
* Find out the last time the branch was merged by looking through the svn log (svn log --limit 5) The result of running the log command would look something like this: &lt;br /&gt;
 C:\PhpGedView\workspace\pgv-4.2&amp;gt;svn log --limit 5&lt;br /&gt;
 ------------------------------------------------------------------------&lt;br /&gt;
 r1341 | yalnifj | 2007-07-26 08:40:10 -0600 (Thu, 26 Jul 2007) | 1 line&lt;br /&gt;
 &lt;br /&gt;
 Merging with main trunk&lt;br /&gt;
 ------------------------------------------------------------------------&lt;br /&gt;
 r1340 | windmillway | 2007-07-25 23:23:52 -0600 (Wed, 25 Jul 2007) | 2 lines &lt;br /&gt;
 &lt;br /&gt;
 Aesthetic enhancements for Lightbox Album and Googlemaps themes&lt;br /&gt;
 (Thanks mainly to Nigel Osborne)&lt;br /&gt;
 ------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
* Run the SVN merge command: (C:\PhpGedView\workspace\pgv-4.2&amp;gt;svn merge -x -w -r 1341:HEAD https://phpgedview.svn.sourceforge.net/svnroot/phpgedview/trunk/phpGedView)&lt;br /&gt;
** In this command the -r option specifies the revisions to merge.  So in this example we want to merge 4.2 revision 1341 with the HEAD revision of the main trunk.&lt;br /&gt;
** The result should look something like this:&lt;br /&gt;
 U    includes\index_cache.php&lt;br /&gt;
 C    includes\menu.php&lt;br /&gt;
 U    includes\functions_privacy.php&lt;br /&gt;
 U    includes\functions_edit.php&lt;br /&gt;
 U    includes\class_stats.php&lt;br /&gt;
 U    includes\session.php&lt;br /&gt;
 U    includes\functions_print.php&lt;br /&gt;
 U    includes\functions_rss.php&lt;br /&gt;
 U    includes\functions.php&lt;br /&gt;
* Now for the tricky part, Resolving any conflicts.  From the example above you can see that the &amp;quot;includes\menu.php&amp;quot; file has conflicted.  You will need to open the file and find the conflicts (delimited by &amp;lt;&amp;lt;&amp;lt;&amp;lt; ==== &amp;gt;&amp;gt;&amp;gt;&amp;gt; signs) and figure out how to best fix the conflict.&lt;br /&gt;
** When you have removed all of the conflicts and saved the file, mark the conflicts as resolved (svn resolved includes\menu.php)&lt;br /&gt;
* Commit the new files to the 4.2 branch (svn commit)&lt;br /&gt;
&lt;br /&gt;
[[Category:Developers Guide]]&lt;br /&gt;
[[Category:SVN]]&lt;/div&gt;</summary>
		<author><name>Nathanhaigh</name></author>
		
	</entry>
</feed>