mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
(vc-hg-dir-status-files): New function.
This commit is contained in:
parent
8d87199ba0
commit
a779ddf0ce
2 changed files with 13 additions and 1 deletions
|
|
@ -42,12 +42,15 @@
|
|||
;; * registered (file) OK
|
||||
;; * state (file) OK
|
||||
;; - state-heuristic (file) NOT NEEDED
|
||||
;; - dir-status (dir update-function) OK
|
||||
;; - dir-status-files (dir files ds uf) OK
|
||||
;; - status-extra-headers (dir) OK
|
||||
;; - status-printer (fileinfo) OK
|
||||
;; * working-revision (file) OK
|
||||
;; - latest-on-branch-p (file) ??
|
||||
;; * checkout-model (files) OK
|
||||
;; - workfile-unchanged-p (file) OK
|
||||
;; - mode-line-string (file) NOT NEEDED
|
||||
;; - prettify-state-info (file) OK
|
||||
;; STATE-CHANGING FUNCTIONS
|
||||
;; * register (files &optional rev comment) OK
|
||||
;; * create-repo () OK
|
||||
|
|
@ -499,6 +502,11 @@ REV is the revision to check out into WORKFILE."
|
|||
(vc-exec-after
|
||||
`(vc-hg-after-dir-status (quote ,update-function))))
|
||||
|
||||
(defun vc-hg-dir-status-files (dir files default-state update-function)
|
||||
(apply 'vc-hg-command (current-buffer) 'async dir "status" "-C" files)
|
||||
(vc-exec-after
|
||||
`(vc-hg-after-dir-status (quote ,update-function))))
|
||||
|
||||
(defun vc-hg-status-extra-header (name &rest commands)
|
||||
(concat (propertize name 'face 'font-lock-type-face)
|
||||
(propertize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue