Mercurial > emacs
changeset 35131:9dcb897992b9
(vc-default-latest-on-branch-p): New function, replaces constant
implementations in backends.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Mon, 08 Jan 2001 16:23:33 +0000 |
parents | 9855a80a206a |
children | 78bce41f17c5 |
files | lisp/vc.el |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc.el Mon Jan 08 16:00:38 2001 +0000 +++ b/lisp/vc.el Mon Jan 08 16:23:33 2001 +0000 @@ -5,7 +5,7 @@ ;; Author: FSF (see below for full credits) ;; Maintainer: Andre Spiegel <spiegel@gnu.org> -;; $Id: vc.el,v 1.290 2000/11/16 18:28:11 monnier Exp $ +;; $Id: vc.el,v 1.292 2000/11/20 14:01:35 spiegel Exp $ ;; This file is part of GNU Emacs. @@ -839,6 +839,11 @@ "Default check whether FILE is unchanged: diff against master version." (zerop (vc-call diff file (vc-workfile-version file)))) +(defun vc-default-latest-on-branch-p (file) + "Default check whether the current workfile version of FILE is the +latest on its branch." + t) + (defun vc-recompute-state (file) "Force a recomputation of the version control state of FILE. The state is computed using the exact, and possibly expensive