Comment #3 on issue 3045 by [email protected]: when updating new diff
on existing reviews on reviewboard server in clearcase source file revision
is not LATEST
http://code.google.com/p/reviewboard/issues/detail?id=3045
HI Jan
Thanks for your reply .Much appropriated .
In our clearcase enviroment we rebase/merge our dev branch from Integration
branch very often to avoid merge issue .since post-review diffing devbranch
latest with /branch/0 changes ,the uploaded diff has users changes as well
as merged changes which is not OK for us .As the diff should be only dev
branch changes othewise owners will confused to know what the exact owners
change .
just wondering if postreview.py can modified to get diff between
Integration branch LATEST and dev branch latest ? if its possible please
let me know how to proceed .any fix in the same issues is there on latest
RBtools scripts ?
===================
I am facing another issue while uploading existing diff file
using "post-review --diff-filename" from linux host .Our Rb server is LINUX
rhel machine with RB version 1.6.3 .The review is getting created but the
diff file is not getting uploaded from commandline post-review .I can
upload the diff file from GUI to the appropriate review ID .
Let me know if any specfic Server side configuration missing ? or where i
can see the logs to know the exact problem .Please help .
Error:
[email protected]:/vobs/ms-test 114 % post-review
--diff-filename=d1.diff --server="https://ppsappdev02.isus.emc.com:443" -d
RBTools 0.4.1
Home = /emc/ppreleng
HTTP GETting api/
HTTP GETting https://ppsappdev02.isus.emc.com:443/api/info/
Using the new web API
HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/
HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/1/
HTTP GETting
https://ppsappdev02.isus.emc.com:443/api/repositories/1/info/
HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/2/
HTTP GETting
https://ppsappdev02.isus.emc.com:443/api/repositories/2/info/
HTTP GETting https://ppsappdev02.isus.emc.com:443/api/repositories/3/
HTTP GETting
https://ppsappdev02.isus.emc.com:443/api/repositories/3/info/
Attempting to create review request on
/view/ppreleng_reviewboardAdmin/vobs/ms-test for None
HTTP POSTing to
https://ppsappdev02.isus.emc.com:443/api/review-requests/:
{'repository': u'/view/ppreleng_reviewboardAdmin/vobs/ms-test'}
Review request created
Uploading diff, size: 27
HTTP POSTing to
https://ppsappdev02.isus.emc.com:443/api/review-requests/370/diffs/:
{'basedir': u'/view/ppreleng_reviewboardAdmin/vobs/ms-test'}
Got API Error 105 (HTTP code 400): 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}}
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 this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.