[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Merging a vendor branch that's also in subversion

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 2 Mar 2012 20:25:36 +0100

On Fri, Mar 02, 2012 at 02:01:58PM -0500, Steve Lustbader wrote:
> My subversion-based project is based on a third-party project that is also
> stored in subversion, although on a separate server (to which we only have
> client access). We will soon need to merge the recent changes from the
> third-party project back into our own codebase. I am preparing to do a
> merge using the "vendor branch" technique from the svn book, but I was
> hoping that since both projects are stored in subversion, there might be a
> simpler way - are there any other options?

Another option might be a foreign repository merge.
Quoting from near the bottom of 'svn help merge' output:

    - Merging from foreign repositories -

  Subversion does support merging from foreign repositories.
  While all merge source URLs must point to the same repository, the merge
  target working copy may come from a different repository than the source.
  However, there are some caveats. Most notably, copies made in the
  merge source will be transformed into plain additions in the merge
  target. Also, merge-tracking is not supported for merges from foreign
  repositories.
Received on 2012-03-02 20:26:15 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.