hg.sr.ht: Include referenced revision when logging "from" v1 PROPOSED

Nolan Prescott: 1
 Include referenced revision when logging "from"

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/19532/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH hg.sr.ht] Include referenced revision when logging "from" Export this patch

get_log returns the next_id from which the next_page_url is based,
from_rev should use next_id directly instead of the first parent of
next_id, which results in skipping revisions across pages.

Intended to address:

diff --git a/hgsrht/blueprints/repo.py b/hgsrht/blueprints/repo.py
--- a/hgsrht/blueprints/repo.py
+++ b/hgsrht/blueprints/repo.py
@@ -373,7 +373,7 @@

        from_rev = request.args.get("from")
        if from_rev:
            rev = from_rev + '^'
            rev = from_rev
            rev = request.args.get("rev")
Hah, derpy derp.
Thanks! Merged now.