500 Internal Server Error while pushing an empty commit

NEW
Unassigned

Status

MozReview
General
2 years ago
2 years ago

People

(Reporter: JamesCheng, Unassigned)

Tracking

Details

(Reporter)

Description

2 years ago
With below action
- modified some files
- git add .
- git commit -m "Bug - xxxx. r?yyy"
- git commit --allow-empty -m "try: -b do -p all -u all -t none"
When I create an empty commit and use
- git mozreview push

I will get an error
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 0 changes to 2 files
remote: recorded push in pushlog
remote: REVIEWBOARD: You need to have the reviewboard client extension installed in order to perform code reviews.
remote: REVIEWBOARD: See https://hg.mozilla.org/hgcustom/version-control-tools/file/tip/hgext/reviewboard/README.rst

submitting 2 commits for review
error: reviewboard error: HTTP 500

The error cannot directly indicate the actual error which is I create an empty commit...

If I create a non-empty commit with wrong commit format(syntax).

I will get a clear error message that I will know how to fix.

Could it possible that showing a more specific error code in this case?
You need to log in before you can comment on or make changes to this bug.