# HG changeset patch # User Augie Fackler # Date 1394561802 14400 # Node ID ecb85d3ba96079ed7c0b8c826417e1b1a6143b68 # Parent 629b500e127664091bfb330bd87e872c9f9f5fb7 textmate.el: use hg locate for speed diff --git a/.elisp/textmate.el b/.elisp/textmate.el --- a/.elisp/textmate.el +++ b/.elisp/textmate.el @@ -321,12 +321,12 @@ specific type of file." (command (cond ((not (string= type "unknown")) (concat (cond ((string= type "git") "git ls-files") - ((string= type "hg") "hg manifest")) + ((string= type "hg") "hg locate 'set:added() or modified() or clean()'")) (if *textmate-vcs-exclude* (concat " | egrep --color=never -v " (shell-quote-argument *textmate-vcs-exclude*)) "") - " | xargs egrep --color=never -nR " + " | xargs egrep --color=never -n " (if pattern (concat " --include='" pattern "' ") "") " -- " (shell-quote-argument re)))