~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

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

Details
Message ID
<b84456a105cb7b8013e8.1610582483@freefall>
DKIM signature
pass
Download raw message
Patch: +1 -1
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:
    todo.sr.ht/~sircmpwn/hg.sr.ht/42

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
        else:
            rev = request.args.get("rev")
            try:
Details
Message ID
<68fdc568-4b4a-4788-8bb5-d9348a64d04e@www.fastmail.com>
In-Reply-To
<b84456a105cb7b8013e8.1610582483@freefall> (view parent)
DKIM signature
pass
Download raw message
Hah, derpy derp.
Thanks! Merged now.
Reply to thread Export thread (mbox)