pullrequests: better handling of Mercurial pullrequests with missing revisions - don't crash Trying to display a Mercurial PR with missing changesets could ...

kiilerix committed on 2016-07-28 14:28:34
branch: default
tag: tip
changeset: 19e619f3
pullrequests: better handling of Mercurial pullrequests with missing revisions - don't crash

Trying to display a Mercurial PR with missing changesets could give a crash
when trying to compute available updates after 3f646f7bac39 did that
c.cs_ranges could be empty. That would normally not happen on Mercurial, but
could happen when restoring an old filesystem backup ... or when using strip on
the server.

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

Reply via email to