所以这是我的情况。
我在 bitbucket 有一个 git repo,我已将它与 rbcommon 帐户相关联。我克隆了 repo,进行了更改,提交并使用“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/
我已经尝试了多个 repos,行为是相同的,第一次尝试后没有附加差异。
任何指针?