I have a problem looks like about base path when using post-review and I 
cannot figure it out how to make
post-review using the right base path. I had tried to change the path of 
REPOSITORY to "http://svn.repos"; both in 
the configuration of ReviewBoard and .reviewboardrc, and change the name of 
directory to the name of branch, "397".
But, this error keeps showing up. I revert these changes after failed. What 
can I do for the next?

currently the content of .reviewboardrc is,


following is the cmd I used and the result I got,

$ post-review --tracking-branch=build --parent=HEAD^ -d
>>> RBTools 0.4.2
>>> Python 2.7.3 (default, Nov 30 2012, 17:31:35)
[GCC 4.5.3]
>>> Running on CYGWIN_NT-6.1-1.7.17-0.262-5-3-i686-32bit
>>> Home = C:\Users\mt02385\AppData\Roaming
>>> Current Directory = /cygdrive/d/397/src
>>> Checking the repository type. Errors shown below are mostly harmless.
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a ClearCase repository...
DEBUG:root:Checking for a Git repository...
DEBUG:root:Running: git rev-parse --git-dir
DEBUG:root:Running: git config core.bare
DEBUG:root:Running: git rev-parse --show-toplevel
DEBUG:root:Running: git symbolic-ref -q HEAD
DEBUG:root:Running: git config --get branch.build.merge
DEBUG:root:Running: git config --get branch.build.remote
DEBUG:root:Running: git config --get remote.build.url
DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', 
DEBUG:root:repository info: Path: http://svn.repos/branches/397, Base path: 
, Supports changesets: False
>>> Finished checking the repository type.
>>> HTTP GETting api/
>>> HTTP GETting
>>> Using the new web API
DEBUG:root:Running: git merge-base build refs/heads/build
DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff 
--ignore-submodules HEAD^
DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff 
--ignore-submodules 20d5486b27c7fb61b8118112b15b7e763084dcd2..HEAD^
>>> Attempting to create review request on http://svn.repos/branches/397 
for None
>>> HTTP POSTing to 
{'repository': 'http://svn.repos/branches/397'}
>>> Review request created
>>> Uploading diff, size: 4978
>>> Uploading parent diff, size: 4978
>>> HTTP POSTing to {}
>>> Got API Error 105 (HTTP code 400): One or more fields had errors
>>> Error data: {u'fields': {u'basedir': [u'This field is required.']}, 
u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', 
u'code': 105}}

Error uploading diff

The generated diff file was empty. This usually means no files were
modified in this change.

Try running with --output-diff and --debug for more information.

Your review request still exists, but the diff is not attached.

Thanks for the help.


Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to