rbt setup-repo returns with error

独自空忆成欢 提交于 2020-01-04 21:38:11

问题


I am using git as my code repository. While trying to setup the review board server form git cmd line rbt returns with the below error:

ERROR: Could not load SCM Client "git": [Error 2] The system cannot find the file specified ERROR: The current directory does not contain a checkout from a supported source code repository.

I have some files modified on the client.

I am new to git, so I am not sure if its to do with some error in git installation or not. Although my git commands are all working fine.

rbt version is 0.7.3 Any pointers what is going wrong here? Thanks in advance.


回答1:


you can try rbt setup-repo -d for debugging logs; it may show you the problem.

The problem may be you don't have a repository added on review board or the repository addition may not be correct.

you can check this review board wiki for more information about repository adding




回答2:


I was facing same issue. Reason was that when I installed svn, I did not select the CLI option. (By default CLI tools are not selected when you install svn). I re-installed again and it worked.



来源:https://stackoverflow.com/questions/30719586/rbt-setup-repo-returns-with-error

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