comparison .elisp/textmate.el @ 404:577c824c2288

textmate.el: use `hg locate` instead of `hg manifest`
author Augie Fackler <raf@durin42.com>
date Mon, 01 Aug 2016 09:13:10 -0400
parents ecb85d3ba960
children b460b464f9d2
comparison
equal deleted inserted replaced
403:5c60aa185a97 404:577c824c2288
391 (cond ((string= type "git") (split-string 391 (cond ((string= type "git") (split-string
392 (shell-command-to-string 392 (shell-command-to-string
393 (concat "cd " root " && git ls-files")) "\n" t)) 393 (concat "cd " root " && git ls-files")) "\n" t))
394 ((string= type "hg") (split-string 394 ((string= type "hg") (split-string
395 (shell-command-to-string 395 (shell-command-to-string
396 (concat "cd " root " && hg manifest")) "\n" t)) 396 (concat "cd " root " && hg locate 'set:added() or modified() or clean()'")) "\n" t))
397 ((string= type "unknown") (textmate-cached-project-files-find root)) 397 ((string= type "unknown") (textmate-cached-project-files-find root))
398 ))) 398 )))
399 399
400 (defun textmate-project-files-find (root) 400 (defun textmate-project-files-find (root)
401 "Finds all files in a given project using find." 401 "Finds all files in a given project using find."