From 142e1a2506603edc2cbf510cb39ea5c83bce0188 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Fri, 20 Apr 2012 16:21:37 +0100 Subject: [PATCH] Correctly determine last commit timestamp for a set of darcs files (see #79) --- package-build.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package-build.el b/package-build.el index 6c6b71e1..98eeac90 100644 --- a/package-build.el +++ b/package-build.el @@ -165,7 +165,8 @@ seconds; the server cuts off after 10 requests in 20 seconds.") (delete-directory dir t nil)) (print "cloning repository") (pb/run-process nil "darcs" "get" repo dir))) - (pb/run-process dir "darcs" "changes" "--last" "1") + (apply 'pb/run-process dir "darcs" "changes" "--max-count" "1" + (pb/expand-file-list dir config)) (pb/find-parse-time "\\([a-zA-Z]\\{3\\} [a-zA-Z]\\{3\\} \\( \\|[0-9]\\)[0-9] [0-9]\\{2\\}:[0-9]\\{2\\}:[0-9]\\{2\\} [A-Za-z]\\{3\\} [0-9]\\{4\\}\\)"))))