Convert Bazaar repo to SVN

匿名 (未验证) 提交于 2019-12-03 09:05:37

问题:

I have written some python scripts that take advantage of pysvn to analyze a project. I would like to run these on a project that is now in a bazaar repo so I was wondering how I could get a copy of the bazaar repo on my machine and then translate it to a svn standard so pysvn can use it.

I found some documentation on going SVN to Bazaar but not the other way around. Is it possible?

回答1:

You say the scripts are in Python? You're in luck as Bazaaar is written in Python, so bzrlib can be used to analyse a repository.

That said, with bzr-svn installed on Ubuntu 9.04, I am getting "fetch() got an unexpected keyword argument 'fetch_spec'" when I attempt to "bzr push" to a folder in a subversion repo.



回答2:

You can use bzr-svn plugin to push bzr branch into svn repo.



回答3:

I haven't used it for Bazaar, but I have used Tailor to keep an svn repo in sync with a git repo.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!