Using svn as the repo for a bzr project
Jelmer Vernooij
jelmer at vernstok.nl
Sun Nov 15 16:30:32 GMT 2009
On Sun, 2009-11-15 at 05:18 -0800, Stuart P. Bentley wrote:
> Bazaar gives me the error that "these branches have diverged". (I didn't
> make the "branches" and "tags" directories- is that the reason?)
If you are getting a branches diverged error, there has to be something there already. What does "svn stat" say about the same URL that you are specifying to bzr push ?
Cheers,
Jelmer
> "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
> >
> >
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091115/a550f4fd/attachment.pgp
More information about the bazaar
mailing list