Skip to content

Commit

Permalink
package-build--get-commit(hg): Use more appropriate hg command
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jul 4, 2021
1 parent 527134d commit b31669d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,10 @@ is used instead."
(cl-defmethod package-build--get-commit ((rcp package-hg-recipe))
(ignore-errors
(package-build--run-process-match
"changeset:[[:space:]]+[[:digit:]]+:\\([[:xdigit:]]+\\)"
"\\(.*\\)"
(package-recipe--working-tree rcp)
"hg" "log" "--debug" "--limit=1")))
;; "--debug" is needed to get the full hash.
"hg" "--debug" "id" "-i")))

;;; Generate Files

Expand Down

0 comments on commit b31669d

Please sign in to comment.