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.

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

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <drupal5>, <drupal6>, <javascript>, <php>, <sql>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options