subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Johnson <>
Subject Re: Starting to use vendor branch with existing code
Date Thu, 25 Sep 2014 17:47:54 GMT
If I'm not mistaken, this sounds like a perfect use for the least-used form
of the merge command.

Specifically, create the vendor folder (for simplicity, call this location
Move your existing version of the vendored item (call this location B) to a
new location (location C).
Copy the vendor item to location B (svn copy A B)
Check out working copy of B.
Three way merge changes between A & C onto the working copy of B. (svn
merge A C .)
Resolve conflicts & commit.
Delete location C.

Now you have a folder at location B which is derived from your vendor
folder at A.


On Mon, Sep 22, 2014 at 8:18 AM, Phillip Seaver <> wrote:

> We are using vendor branches for most third-party libraries, but there are
> a few projects in our source tree that haven't been brought in via vendor
> branches.  Some of them have local modifications, too.
> Is there a recommended way to start using vendor branches with them?  For
> one unmodified project, I deleted the directory and copied it over from the
> vendor branch, but that caused a (hopefully) one-time problem with tree
> conflicts.  We had to update to the revision with the delete then update to
> head in order to avoid the conflict.
> Thanks,
> Phillip

View raw message