Do you mean i have to use --label option in postreview for generating diff for clearcase?
I have tried adding diff file manual in GUI by using a sample file and also using the output from postreview as an diff file. But there is error stating "Substring not found". Have i misssed anything in the basic setup? On Jul 20, 3:05 pm, Dan Savilonis <[email protected]> wrote: > The documentation and clearcase support in rbtools is rather outdated. > I believe Jan has an improvement so you don't need to use my cleartool > lsco hack among other things. > > There are a large number of patches in the queue on > reviews.reviewboard.org but they don't appear to be going anywhere. > Nonetheless it would be better to start with these changes as a > baseline rather than debugging the existing broken code. Jan will need > to comment if he's interested in doing this. I can't do it easily > myself since RB doesn't upload full git patches right now... > > Dan > > On Jul 19, 8:06 am, Chetan <[email protected]> wrote: > > > > > Hello...... > > > Do anyone have a hint on this issue? i have searched the forum but > > could not find any solution. > > > On Jul 15, 11:44 am, Chetan <[email protected]> wrote: > > > > Hello All, > > > I have facing problem in uploading the clearcase diff in review > > > request using post-review script. > > > command used: "cleartool lsco -cview -me -recurse -short | sed "s/\\\\/ > > > \//g" | xargs post-review -d --diff-only --target-people=chetan.d -- > > > summary=test2_by_chetan --description test2_by_chetan --submit- > > > as=admin --server=http://xxxx.xxx.net/xxx/" > > > > When i use -n option i get the diff on the prompt. > > > > Error are as below: > > > > >>> HTTP POSTing > > > >>> tohttp://172.24.1.107/reviewboard_lgsi/api/json/reviewrequests/16/draft...{'description': > > > >>> 'VIEW: chetan.d_sdaf_2_int\nVIEWTYPE: dynamic\ntest2_by_chetan'} > > > >>> Uploading diff, size: 1017 > > > >>> HTTP POSTing > > > >>> tohttp://172.24.1.107/reviewboard_lgsi/api/json/reviewrequests/16/diff/...{'basedir': > > > >>> 'M:/'} > > > >>> Got API Error 105 (HTTP code 200): One or more fields had errors > > > >>> Error data: {u'fields': {u'path': [u'substring not found']}, u'stat': > > > >>> u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': > > > >>> 105}} > > > > Your review request still exists, but the diff is not attached. > > > > 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. > > > > Request some help in getting this error fixed. > > > > Thnks- Hide quoted text - > > - Show quoted text - -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
