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 co...

kiilerix committed on 2016-11-15 21:53:41
branch: default
tag: tip
changeset: 73654990
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.

 M kallithea/controllers/pullrequests.py (1 lines added, 2 lines removed)
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to