mirror of
https://github.com/correl/melpa.git
synced 2024-12-25 11:11:17 +00:00
Correctly determine last commit timestamp for a set of hg files (see #79)
This commit is contained in:
parent
05f920a494
commit
a971eeddd5
1 changed files with 4 additions and 1 deletions
|
@ -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\\}\\)"))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue