Comment #7 on issue 1687 by mail4visu: post-review API Error 105
http://code.google.com/p/reviewboard/issues/detail?id=1687
Today I tried running post-review as shown below and I got error as "The
diff file is empty" rather than previous "The submitted file is empty"
error. How can I resolve this issue?
post-review --diff-filename=attr_fn_acl.c -d --server=http://x.y.z.a:8082
svn info
git rev-parse --git-dir
p4 info
repository info: Path: a.b.c.d:1666, Base path: None, Supports
changesets: True
Looking for 'x.y.z.a /' cookie in /home/viswesn/.post-review-cookies.txt
Loaded valid cookie -- no login required
Attempting to create review request on trperforce01:2666 for None
HTTP POSTing to http://x.y.z.a:8082/api/json/reviewrequests/new/:
{'repository_path': 'a.b.c.d:1666'}
Review request created
Uploading diff, size: 15723
HTTP POSTing to
http://x.y.z.a:8082/api/json/reviewrequests/8/diff/new/: {}
Got API Error 105 (HTTP code 200): One or more fields had errors
Error data: {u'fields': {u'path': [u'The diff file is empty']},
u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors',
u'code': 105}, u'deprecated': {u'in_version': u'1.5'}}
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.
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/reviewboard-issues?hl=en.