mercurial: minor update

This commit is contained in:
lilydjwg 2024-03-09 18:45:19 +08:00
parent 5227df6f5b
commit 35a19f30ae
2 changed files with 2 additions and 2 deletions

View File

@ -838,7 +838,7 @@ Check Mercurial repository
source = "mercurial"
This enables you to check tags of an arbitrary mercurial repository.
This enables you to check tags of an arbitrary mercurial (hg) repository.
mercurial
URL of the Mercurial repository.

View File

@ -2,7 +2,7 @@
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.
async def get_version(name, conf, *, cache, **kwargs):
url = conf.get('mercurial') + '/json-tags'
url = conf['mercurial'] + '/json-tags'
data = await cache.get_json(url)