mercurial: minor update
This commit is contained in:
parent
5227df6f5b
commit
35a19f30ae
|
@ -838,7 +838,7 @@ Check Mercurial repository
|
||||||
|
|
||||||
source = "mercurial"
|
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
|
mercurial
|
||||||
URL of the Mercurial repository.
|
URL of the Mercurial repository.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.
|
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.
|
||||||
|
|
||||||
async def get_version(name, conf, *, cache, **kwargs):
|
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)
|
data = await cache.get_json(url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue