Understanding Subversion Vendor Branching
Since I'm still a newbie at SVN, getting the hang of Vendor Branching has taken me a little longer than I'm willing to admit.
Here are some resources that I found helpful.
- http://minimalmedia.com/en/blog/dave/upgrading-drupal-core-with-vendor-branches-and-svnloaddirs-almost-perfect
- http://svnbook.red-bean.com/en/1.1/ch07s05.html
- http://imagexmedia.com/blog/2009/1/updating-drupal-using-svn-vendor-branches
- http://gotdrupal.com/videos/drupal-svn-vendor-branches
- http://betterexplained.com/articles/a-visual-guide-to-version-control/
The basic concept is this. "Subversion, listen up. I'm going to use svn_load_dirs.pl and your going to find the differences between the current (5.15) and the new version (5.16) and record those changes. Don't forget to tag those changes (-t) as 5.16 when your done."
svn_load_dirs.pl <a href="///Users/shane/Sites/svn/test/vendor/drupal" title="///Users/shane/Sites/svn/test/vendor/drupal">file:///Users/shane/Sites/svn/test/vendor/drupal</a> current drupal-5.16 -t 5.16
Then in your working copy "Subversion, look at me when I'm talking to you. I want you apply those changes I had you tag just a minute ago, to my working copy. Make sure you keep my changes or I'll have your head on a stick."
svn merge <a href="///Users/shane/Sites/svn/test/vendor/drupal/5.15" title="///Users/shane/Sites/svn/test/vendor/drupal/5.15">file:///Users/shane/Sites/svn/test/vendor/drupal/5.15</a> file:///Users/shane/Sites/svn/test/vendor/drupal/current
Lastly. "Subversion, yeah, I'm talking to you. Commit these changes to my working copy and don't give me any lip."
svn committ -m "Upgrading from 5.15 to 5.16"
That's how I understand things to be now....

Comments
I don't think you can skip
I don't think you can skip versions when merging.
I ran into a problems with trying a command like
svn merge http://svn.fake.com/repos/fake/vendors/magento/1.3.1 http://svn.fake.com/repos/fake/vendors/magento/1.3.2.1/
I just kept getting conflicts, so you need to run a merge command for each changeset... you can't skip the sequence in your vendor branches.
Yes, just now i review the
Yes, just now i review the above links, very useful for me.. thanks for sharing..because am a Drupal developer..
Post new comment