Reviewboard/SVN post-review errors: repository path is not in the list of known repositories

版权声明:站在巨人的肩膀上,才可以看的更高更远。 https://blog.csdn.net/u011078141/article/details/87788177

I'm having difficulties with creating a new review entry in Review Board automatically through a checkin in Subversion (SVN). I've created a post-commit hook which, when run manually gives the following exception:

Failed to execute command: ['c:\\python25\\Scripts\\post-review', '--repository-   
url=file:///Repository/svn/TestProject', '--user
=reviewmanager', '--password=########', '-p', '--submit-as=mario', '--revision-    
range=44:45', '--server=http://172.16.4.175/reviewboard
--disable-proxy', '--summary=refs #2564 testcheckin for reviewboard', 
'--description=(In [45]) refs #2564 testcheckin for reviewboard. \npublish review', '']

There was an error creating this review request.

The repository path "http://sos35/svn/TestProject" is not in the list of known repositories on the server.

I've created a repository with this specific path in the reviewboard server. svn info gives this path as the rootpath of the svn repository. Running this script on the SVN repository server from the hooks folder.

So everything seems to be lined up for success, except for the previously mentioned exception.

Does anyone have any clue to solve this puzzle? Tried the .reviewboardrc file checkin in the project-root, with no success. Could be because this information in being overridden in the commandline of post-review.

SVN路径最后不要有斜杠

猜你喜欢

转载自blog.csdn.net/u011078141/article/details/87788177