I create review request from RB web page is OK, but it is faild when I tried to use rbt post command to create new review quest,
I think rbt post has bug which need to fix.
(virtural_python2.7.13) [zhangheng-pd@dev33 Python]$ rbt post -d
>>> RBTools 0.7.10
>>> Python 2.7.13 (default, Jun 13 2017, 18:49:24)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
>>> Running on Linux-2.6.32-2.0.0.8-6-x86_64-with-centos-6.8-Final
>>> Home = /home/zhangheng-pd
>>> Current directory = /home/zhangheng-pd/28.38.svnserver/Python
>>> Command line: rbt post -d
>>> Running: tf vc help
>>> Checking for a Subversion repository...
>>> Running: svn --non-interactive info
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: svn://
10.16.28.38/test, Base path: /Python-2.7.13/Python, Supports changesets: False
>>> Got API Error 210 (HTTP code 500): There was an error fetching extended information for this repository.
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u'There was an error fetching extended information for this repository.', u'code': 210}}
>>> Running: svn --non-interactive info
>>> Running: diff --version
>>> Running: svn --non-interactive --version -q
>>> repository info: Path: svn://
10.16.28.38/test, Base path: /Python-2.7.13/Python, Supports changesets: False
>>> Running: svn --non-interactive status -q --ignore-externals
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r BASE
>>> Running: svn --non-interactive info README
>>> Running: svn --non-interactive diff --diff-cmd=diff --notice-ancestry -r BASE --no-diff-deleted
>>> Running: svn --non-interactive info README
>>> Running: svn --non-interactive info README
>>> Running: svn --non-interactive info README
>>> Got API Error 207 (HTTP code 400): The file was not found in the repository.
>>> Error data: {u'stat': u'fail', u'file': u'/Python-2.7.13/Python/README', u'err': {u'msg': u'The file was not found in the repository.', u'code': 207}, u'revision': u'81'}
Traceback (most recent call last):
File "/home/zhangheng-pd/virtural_python2.7.13/bin/rbt", line 11, in <module>
sys.exit(main())
File "/home/zhangheng-pd/virtural_python2.7.13/lib/python2.7/site-packages/rbtools/commands/main.py", line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/home/zhangheng-pd/virtural_python2.7.13/lib/python2.7/site-packages/rbtools/commands/__init__.py", line 663, in run_from_argv
exit_code = self.main(*args) or 0
File "/home/zhangheng-pd/virtural_python2.7.13/lib/python2.7/site-packages/rbtools/commands/post.py", line 812, in main
(msg_prefix, e))
rbtools.commands.CommandError: Error validating diff
/Python-2.7.13/Python/README: The file was not found in the repository. (HTTP 400, API Error 207)