Re: Mirror a remote repository in a local branch
From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Sat, 13 Feb 2010 21:11:42 -0500
Ryan Schmidt wrote:
The vendor branches section of the book was written before Subversion grew
1. 'svn export' the remote branch.
2. 'svn import' the branch stuff into your own repository. Actually, I'd
3. Make your customizations as normal, cimmit, etc.
4. When you need to sync up your mirror, just use:
$ svn merge FOREIGN-URL_at_MIRRORED-REV \
(where MIRRORED-REV was the revision of the code you imported or
It has some gotcha:
* renames in the foreign repository can really interfere with the merges
* you have to make sure that when you make your initial import of the
* there's no merge tracking support.
But I use this feature myself to maintain vendor branches, and I've been
-- C. Michael Pilato <cmpilato_at_collab.net> CollabNet <> www.collab.net <> Distributed Development On DemandReceived on 2010-02-14 03:12:25 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.