Hi,
I've been reading about vendor branches on http://svnbook.red-bean.com/en/1.5/svn.advanced.vendorbr.html, and have a question. It all seems to make perfect sense to me, except for one bit:
When you run svn_load_dirs.pl, it examines the contents of your existing “current” vendor drop and compares them with the proposed new vendor drop. In the trivial case, no files will be in one version and not the other, and the script will perform the new import without incident. If, however, there are discrepancies in the file layouts between versions, svn_load_dirs.pl will ask you how to resolve those differences. For example, you will have the opportunity to tell the script that you know that the file math.c in version 1.0 of libcomplex was renamed to arithmetic.c in libcomplex 1.1. Any discrepancies not explained by moves are treated as regular additions and deletions.I understand that if you're dealing with downloaded tarballs of libcomplex 1.0 and libcomplex 1.1 there is no revision history available, so this is a problem, but what if libcomplex were stored in a subversion repository itself? Couldn't you somehow use the revision history in the libcomplex repository (which knows about moves etc.) to create the diff and apply the changes to your customised version? It seems that the complexities with vendor branches shouldnt be a problem if both the 3rd party code and your own code is stored in subversion repositories. Is there an alternative way to do vendor branching in this situation? Thanks, Jack
Last updated