~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] hgsrht: Fix repository deletion notices

Details
Message ID
<738808203e621a83f8ea.1650481485@framework.my.domain>
DKIM signature
missing
Download raw message
Patch: +5 -1
# HG changeset patch
# User Adnan Maolood <me@adnano.co>
# Date 1650481073 14400
#      Wed Apr 20 14:57:53 2022 -0400
# Node ID 738808203e621a83f8eae23cb1bdd8e698564fcc
# Parent  efc51c7552bad58f1c8db44244a12e4c79e7daf3
hgsrht: Fix repository deletion notices

diff --git a/hgsrht/app.py b/hgsrht/app.py
--- a/hgsrht/app.py
+++ b/hgsrht/app.py
@@ -4,7 +4,7 @@
import stat
from srht.config import cfg
from srht.database import db, DbSession
from srht.flask import SrhtFlask
from srht.flask import SrhtFlask, session
from srht.oauth import AbstractOAuthService
from hgsrht.hgwebshim import HgWebShim
from hgsrht.service import oauth_service, webhooks_notify
@@ -47,9 +47,13 @@

        @self.context_processor
        def inject():
            notice = session.get("notice")
            if notice:
                del session["notice"]
            return {
                "stat": stat,
                "humanize": humanize,
                "notice": notice,
                "path_join": os.path.join,
                "scmname": "hg",
                "scmreflabel": "rev",
Details
Message ID
<6514dd45-dc52-47ba-aa8e-a4e5da6f866d@www.fastmail.com>
In-Reply-To
<738808203e621a83f8ea.1650481485@framework.my.domain> (view parent)
DKIM signature
missing
Download raw message
Merged as b4d5c6f7058e, thanks!
Reply to thread Export thread (mbox)