branch: elpa/helm
commit 802df8d946bea1db19dbb6bca698f5d27dac0415
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fiw cloning hg packages with git-remote-hg
---
helm-packages.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/helm-packages.el b/helm-packages.el
index 92ad2bc064..eafa98ccd8 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -313,7 +313,9 @@ PROVIDER can be one of \"gnu\" or \"nongnu\"."
process-connection-type
(proc (start-process
"git" "*helm packages clone"
- "git" "clone" (if (string-match "\\.git\\'" url)
+ "git" "clone" (if (or (string-match "\\.git\\'" url)
+ ;; For git-remote-hg.
+ (string-match "\\`hg" url))
url
(concat url ".git"))
name)))