Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit e17d7037 authored by Ryan Thompson's avatar Ryan Thompson

Merge pull request #637 from tkf/hg-full-checksum

Changed: el-get-hg-compute-checksum returns full 40-digit hex now
parents c5160971 b6f5dcf1
......@@ -78,12 +78,9 @@
"Return the hash of the checked-out revision of PACKAGE."
(cd (el-get-package-directory package))
(let* ((args '("hg" "id" "--id"))
(let* ((args '("hg" "log" "--rev" "." "--template" "{node}"))
(cmd (mapconcat 'shell-quote-argument args " "))
(output (shell-command-to-string cmd))
;; strip tailing "+" if exists
(hash (and (string-match "^\\([0-9A-Fa-f]+\\)" output)
(match-string 0 output))))
(hash (shell-command-to-string cmd)))
(el-get-register-method :hg
......@@ -7,7 +7,7 @@
(el-get-verbose t)
;; Just need to install something
(pkg 'qmake-mode)
(checksum "a3f9655f346c")
(checksum "a3f9655f346c6efe54e3ffc000adb3435c99f90b")
`(:name ,pkg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment