Best practice for bzr-svn mirror?
John Carr
john.carr at unrouted.co.uk
Sun Feb 22 18:43:32 GMT 2009
On Sat, Feb 21, 2009 at 1:37 PM, Jelmer Vernooij <jelmer at samba.org> wrote:
> On Sat, 2009-02-21 at 16:35 +1100, Jonathan Lange wrote:
>> Hello,
>>
>> I was thinking about setting up a mirror of a Subversion project into
>> Bazaar. The project uses branch-based development, so I'd like each of
>> Subversion "branches" to be available as Bazaar branches, as well as
>> the trunk.
>>
>> Ideally, people would be able to branch from the trunk and push it to
>> Launchpad or whatever.
>>
>> Has anyone done this kind of thing before? Is there a howto? Any gotchas?
> Run something like this from a cron job:
>
> $ bzr svn-import --incremental <repos-url> <local-path>
>
> That will keep a shared repository with all of the bzr branches up to
> date. It'll also remove branches once they disappear from svn.
>
> Cheers,
>
> Jelmer
> --
> Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
> Jabber: jelmer at jabber.fsfe.org
>
This is what happens on the GNOME Bazaar mirror, though we have a
script that runs it in reponse to commit mails so its "near real
time"... See http://svn.gnome.org/svn/vcs-mirror.
John
More information about the bazaar
mailing list