mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Clean up vc*-revision-granularity and vc*-checkout-model.
This commit is contained in:
parent
991ae4e4f8
commit
70e2f6c752
12 changed files with 74 additions and 79 deletions
|
|
@ -47,7 +47,7 @@
|
|||
;; - dir-state (dir) OK
|
||||
;; * working-revision (file) OK
|
||||
;; - latest-on-branch-p (file) ??
|
||||
;; * checkout-model (file) OK
|
||||
;; * checkout-model (files) OK
|
||||
;; - workfile-unchanged-p (file) OK
|
||||
;; - mode-line-string (file) NOT NEEDED
|
||||
;; - prettify-state-info (file) OK
|
||||
|
|
@ -131,8 +131,8 @@
|
|||
|
||||
;;; Properties of the backend
|
||||
|
||||
(defun vc-hg-revision-granularity ()
|
||||
'repository)
|
||||
(defun vc-hg-revision-granularity () 'repository)
|
||||
(defun vc-hg-checkout-model (files) 'implicit)
|
||||
|
||||
;;; State querying functions
|
||||
|
||||
|
|
@ -444,8 +444,6 @@ REV is the revision to check out into WORKFILE."
|
|||
(vc-hg-command t 0 file "cat" "-r" rev)
|
||||
(vc-hg-command t 0 file "cat")))))
|
||||
|
||||
(defun vc-hg-checkout-model (files) 'implicit)
|
||||
|
||||
;; Modelled after the similar function in vc-bzr.el
|
||||
(defun vc-hg-workfile-unchanged-p (file)
|
||||
(eq 'up-to-date (vc-hg-state file)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue