mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Prevent updates to the branch mapping name field #243

Closed dregad closed 7 years ago

dregad commented 7 years ago

The branch mappings table does not have a dedicated id field, and uses _repoid + branch name as primary key.

As a consequence, it is not possible to update a branch name, so the field should be disabled to avoid confusion (see #230).