From e3c1b805c186d4c5ab1e879f8c51709353c2718e Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Fri, 13 Dec 2024 18:17:55 +0100 Subject: [PATCH] package-build--list-tags(hg): Do not treat "tip" as a tag --- package-build.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-build.el b/package-build.el index 7e5fbde..2566f92 100644 --- a/package-build.el +++ b/package-build.el @@ -458,7 +458,7 @@ Return (COMMIT-HASH COMMITTER-DATE VERSION-STRING REVDESC TAG) or nil." (process-lines "git" "tag" "--list")) (cl-defmethod package-build--list-tags ((_rcp package-hg-recipe)) - (process-lines "hg" "tags" "--quiet")) + (delete "tip" (process-lines "hg" "tags" "--quiet"))) (define-obsolete-function-alias 'package-build-get-tag-version 'package-build-tag-version "Package-Build 5.0.0")