Mercurial > kallithea
view docs/api/models.rst @ 6333:73654990ba75
pullrequests: fix 'upgrade' from revision to branch when creating PR
This will do that the default title for the PR created from a non-head revision
will contain a short hash instead a long.
org_ref_type was set to 'branch' while org_ref_name remained the full hash.
h.short_ref would thus not truncate. Instead, we keep the org_ref_type as 'rev'
while storing the branch name in the database.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 15 Nov 2016 22:53:41 +0100 |
parents | 22a3fa3c4254 |
children | cd6c577ade97 |
line wrap: on
line source
.. _models: ======================== The :mod:`models` module ======================== .. automodule:: kallithea.model :members: .. automodule:: kallithea.model.comment :members: .. automodule:: kallithea.model.notification :members: .. automodule:: kallithea.model.permission :members: .. automodule:: kallithea.model.repo_permission :members: .. automodule:: kallithea.model.repo :members: .. automodule:: kallithea.model.repo_group :members: .. automodule:: kallithea.model.scm :members: .. automodule:: kallithea.model.user :members: .. automodule:: kallithea.model.user_group :members: