emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/vc-hg.el,v [EMACS_22_BASE]


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/vc-hg.el,v [EMACS_22_BASE]
Date: Fri, 20 Jul 2007 06:54:43 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Dan Nicolaescu <dann>   07/07/20 06:54:43

Index: vc-hg.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/vc-hg.el,v
retrieving revision 1.12.2.5
retrieving revision 1.12.2.6
diff -u -b -r1.12.2.5 -r1.12.2.6
--- vc-hg.el    19 Jul 2007 23:51:27 -0000      1.12.2.5
+++ vc-hg.el    20 Jul 2007 06:54:39 -0000      1.12.2.6
@@ -45,7 +45,7 @@
 ;; * workfile-version (file)                   OK
 ;; - latest-on-branch-p (file)                 ??
 ;; * checkout-model (file)                     OK
-;; - workfile-unchanged-p (file)               ??
+;; - workfile-unchanged-p (file)               OK
 ;; - mode-line-string (file)                   NOT NEEDED
 ;; - dired-state-info (file)                   OK
 ;; STATE-CHANGING FUNCTIONS
@@ -392,6 +392,10 @@
 (defun vc-hg-checkout-model (file)
   '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)))
+
 (defun vc-hg-dired-state-info (file)
   "Hg-specific version of `vc-dired-state-info'."
   (let ((hg-state (vc-state file)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]