mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 19:19:51 +00:00
Correctly determine last commit timestamp for a set of darcs files (see #79)
This commit is contained in:
parent
7a0d749da3
commit
142e1a2506
1 changed files with 2 additions and 1 deletions
|
@ -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\\}\\)"))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue