rbt setup-repo returns with error

2019-07-07 19:50发布

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.

2条回答
贪生不怕死
2楼-- · 2019-07-07 20:19

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

查看更多
疯言疯语
3楼-- · 2019-07-07 20:23

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.

查看更多
登录 后发表回答