61698b14e0
We previous use the section title style like: Section level 1 =============== Section level 2 --------------- Which have a problem in Asciidoctor that the number of "="s or "-"s must match the number of characters in the header exactly, as a result it's easy to make mistakes while changing the titles. Asciidoctor provides a better style like: = Section level 1 == Section level 2 So we switched to this style. Also fixed a bug in replace_macros.py, which will not cause any problem in the old style. Change-Id: I811dd7238735d98f662767c17086152cd69aea02
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
= branch ... not found
|
|
|
|
With this error message Gerrit rejects to push a commit for code
|
|
review if the specified target branch does not exist.
|
|
|
|
To push a change for code review the commit has to be pushed to the
|
|
project's magical `refs/for/'branch'` ref (for details have a look at
|
|
link:user-upload.html#push_create[Create Changes]).
|
|
If you specify a non-existing branch in the `refs/for/'branch'` ref
|
|
the push fails with the error message 'branch ... not found'.
|
|
|
|
To fix this problem verify
|
|
|
|
* that the branch name in the push specification is typed correctly
|
|
(case sensitive) and
|
|
* that the branch really exists for this project (in the Gerrit WebUI
|
|
go to 'Projects' > 'List' and browse your project, then click on
|
|
'Branches' to see all existing branches).
|
|
|
|
If it was your intention to create a new branch you can either
|
|
|
|
* bypass code review on push as explained link:user-upload.html#bypass_review[here] or
|
|
* create the new branch in the Gerrit WebUI before pushing (go to
|
|
'Projects' > 'List' and browse your project, in the 'Branches'
|
|
tab you can then create a new branch).
|
|
|
|
Please note that you need to be granted the
|
|
link:access-control.html#category_create['Create reference'] access to create new branches.
|
|
|
|
|
|
GERRIT
|
|
------
|
|
Part of link:error-messages.html[Gerrit Error Messages]
|
|
|
|
SEARCHBOX
|
|
---------
|