Hi All,

I am facing the below failure with rbt post command. 

>>> Running: git rev-parse refs/heads/lte_enb_862
>>> Running: git merge-base bb24bd2db7c671b83489207aa8423623ee5deb60 
>>> Running: git rev-parse cefb4f021a6e2180aa9222f8cd8a106ad1258c1b
>>> Running: git status --porcelain --untracked-files=no
>>> Running: git rev-parse --git-dir
>>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignore-submodules -M --no-ext-diff 
>>> Making HTTP GET request to
>>> Cached response for HTTP GET 
expired and was modified
>>> Making HTTP POST request to
>>> Got API Error 224 (HTTP code 400): The specified diff file could not be 
>>> Error data: {u'stat': u'fail', u'reason': u'fatal:* git cat-file 
40d1304bed7decae7a71ec2f7c0195cdb3bba00f: bad file\*n', u'err': {u'msg': 
u'The specified diff file could not be parsed.', u'code': 224}}
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.4', 'console_scripts', 'rbt')()
  File "/usr/lib/python2.7/site-packages/rbtools/commands/main.py", line 
133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", 
line 612, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/usr/lib/python2.7/site-packages/rbtools/commands/post.py", line 
754, in main
    (msg_prefix, e))
rbtools.commands.CommandError: Error validating diff

The specified diff file could not be parsed. (HTTP 400, API Error 224)

>From the above output,  the diff is taken between current commit and a 
commit which is pointing to origin/master rather than the original parent 
of the current branch. i.e 

master --> local_master--> current branch 

Even tried the param "--parent=local_master" which has the same output.  
Please provide your comment on how to resolve this issue. 

Best Regards,

Supercharge your Review Board with Power Pack: 
Want us to host Review Board for you? Check out RBCommons: 
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to