Using svn as the repo for a bzr project

Stuart P. Bentley stuart at testtrack4.com
Sun Nov 15 14:19:12 GMT 2009


Going to the URL with HTTPS gives me an ERR_EMPTY_RESPONSE (in Chrome) (and 
this server returns pages when things have been pushed to the SVN), so no, 
there's nothing there yet.

"Stuart P. Bentley" <stuart at testtrack4.com> wrote in message 
news:hdov2g$mdu$1 at ger.gmane.org...
> Bazaar gives me the error that "these branches have diverged". (I didn't 
> make the "branches" and "tags" directories- is that the reason?)
>
> "John Szakmeister" <john at szakmeister.net> wrote in message 
> news:a1c1f4750911121634r50415658vf583f74368947611 at mail.gmail.com...
>> On Thu, Nov 12, 2009 at 1:56 PM, Stuart P. Bentley
>> <stuart at testtrack4.com> wrote:
>>> I currently have a project in the form of a Bazaar standalone branch. 
>>> What
>>> would be the simplest way to export this to a freshly-made SVN 
>>> repository,
>>> then have my future commits to my local bzr branch go there? (For 
>>> reference,
>>> I'm on Windows.)
>>
>> Having done this recently:
>>
>> $ svnadmin create repo
>> $ svn co url://to/repo wc
>> $ cd wc
>> $ svn mkdir branches tags
>> $ svn ci -m "Initial layout"
>> $ cd ..
>>
>> (notice that trunk is missing from that list)
>>
>> Go to your bzr branch, and do this:
>>
>> $ bzr push url://to/repo/trunk
>>
>> That will create trunk from your branch, and push the mainline
>> revisions in there.  If you bind your branch to the svn repo, then
>> every time you commit, it will go straight to SVN:
>>
>> $ bzr bind :push
>>
>> Hope that helps!
>>
>> -John
>>
>>
>
>
> 




More information about the bazaar mailing list