Convert Bazaar repo to SVN

左心房为你撑大大i 提交于 2019-12-08 03:15:26

问题


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.



来源:https://stackoverflow.com/questions/1380756/convert-bazaar-repo-to-svn

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