Convert bazaars repository to SVN
I have written several python scripts that use pysvn to parse a project. I would like to run them on a project that is now in the bazaar repository, so I was wondering how I can get a copy of the bazaar repo on my machine and then translate it to the svn standard so that pysvn can use it.
I found documentation on SVN migration to Bazaar, but not vice versa. Is it possible?
Are you saying scripts are in Python? You're in luck, as Bazaaar is written in Python, so bzrlib can be used to parse a repository.
However, with bzr-svn installed on Ubuntu 9.04, I get: "fetch () got an unexpected keyword argument" fetch_spec "when I try to" bzr push "to a folder in the subversion repository.
You can use the bzr-svn plugin to push the bzr branch into the svn repo.
I didn't use it for Bazaar, but I used Tailor to keep the svn repo in sync with the git repo.