summaryrefslogtreecommitdiff
path: root/src/luarocks/fetch/hg_https.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/fetch/hg_https.lua')
-rw-r--r--src/luarocks/fetch/hg_https.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/luarocks/fetch/hg_https.lua b/src/luarocks/fetch/hg_https.lua
new file mode 100644
index 0000000..e67417f
--- /dev/null
+++ b/src/luarocks/fetch/hg_https.lua
@@ -0,0 +1,8 @@
+
+--- Fetch back-end for retrieving sources from hg repositories
+-- that use https:// transport. For example, for fetching a repository
+-- that requires the following command line:
+-- `hg clone https://example.com/foo`
+-- you can use this in the rockspec:
+-- source = { url = "hg+https://example.com/foo" }
+return require "luarocks.fetch.hg_http"