首次成功上传后,审核板差异不上传

时间:2014-09-30 17:22:52

标签: git bitbucket review-board

所以这是我的情况。

我在bitbucket上有一个git repo,我把它与rbcommon帐户联系起来。 我克隆了回购,进行了更改,提交并使用" rbt post -g"成功上传rbcommons上的差异。在我收到评论后,我将更改推送到repo。然后我做一个git pull并重复相同的操作。但是每次这样的尝试都失败了: -

>>> Making HTTP GET request to https://rbcommons.com/s/abc/api/review-requests/
>>> Making HTTP POST request to https://rbcommons.com/s/abc/api/review-requests/
diff_kwargs {'parent_diff': None, 'base_dir': ''}
>>> Making HTTP GET request to https://rbcommons.com/s/abc/api/review-requests/32/diffs/
>>> Making HTTP POST request to https://rbcommons.com/s/abc/api/review-requests/32/diffs/
>>> Got API Error 105 (HTTP code 400): One or more fields had errors
>>> Error data: {u'fields': {u'path': [u'error']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}}
Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
  File "/Library/Python/2.7/site-packages/rbtools/commands/main.py", line 134, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/Library/Python/2.7/site-packages/rbtools/commands/__init__.py", line 416, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/Library/Python/2.7/site-packages/rbtools/commands/post.py", line 801, in main
    submit_as=self.options.submit_as)
  File "/Library/Python/2.7/site-packages/rbtools/commands/post.py", line 553, in post_request
    raise CommandError(u'\n'.join(error_msg))
rbtools.commands.CommandError: Error uploading diff

一个或多个字段存在错误(HTTP 400,API错误105)

path: error

您的审核请求仍然存在,但未附加差异。

https://rbcommons.com/s/abc/r/32/

我尝试过多次回购,行为相同,第一次尝试后没有附加差异。

任何指针?

0 个答案:

没有答案