Convert Bazaar repo to SVN

2019-05-25 03:21发布

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?

标签: svn bazaar
3条回答
爷、活的狠高调
2楼-- · 2019-05-25 04:12

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.

查看更多
劳资没心,怎么记你
3楼-- · 2019-05-25 04:13

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

查看更多
你好瞎i
4楼-- · 2019-05-25 04:23

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

查看更多
登录 后发表回答