diff --git a/package-build.el b/package-build.el index 26eabcd0..a1e60597 100644 --- a/package-build.el +++ b/package-build.el @@ -303,7 +303,10 @@ seconds; the server cuts off after 10 requests in 20 seconds.") (delete-directory dir t nil)) (print "cloning repository") (pb/run-process nil "hg" "clone" repo dir))) - (pb/run-process dir "hg" "tip" "--style" "compact") + (apply 'pb/run-process dir "hg" "log" "-l1" + (pb/expand-file-list dir + (or (plist-get config :files) + (list "*.el")))) (pb/find-parse-time "\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\}\\)"))))