Mercurial > emacs
comparison lisp/vc-cvs.el @ 32128:f5ee1a4a371c
(vc-cvs-make-version-backups): Return t if vc-cvs-stay-local-p.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Wed, 04 Oct 2000 09:51:15 +0000 |
parents | f9d2d484e1e2 |
children | 14e8396427f6 |
comparison
equal
deleted
inserted
replaced
32127:1543b0fc904b | 32128:f5ee1a4a371c |
---|---|
3 ;; Copyright (C) 1995,98,99,2000 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1995,98,99,2000 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: FSF (see vc.el for full credits) | 5 ;; Author: FSF (see vc.el for full credits) |
6 ;; Maintainer: Andre Spiegel <spiegel@gnu.org> | 6 ;; Maintainer: Andre Spiegel <spiegel@gnu.org> |
7 | 7 |
8 ;; $Id: vc-cvs.el,v 1.3 2000/09/07 20:01:53 fx Exp $ | 8 ;; $Id: vc-cvs.el,v 1.4 2000/09/09 00:48:39 monnier Exp $ |
9 | 9 |
10 ;; This file is part of GNU Emacs. | 10 ;; This file is part of GNU Emacs. |
11 | 11 |
12 ;; GNU Emacs is free software; you can redistribute it and/or modify | 12 ;; GNU Emacs is free software; you can redistribute it and/or modify |
13 ;; it under the terms of the GNU General Public License as published by | 13 ;; it under the terms of the GNU General Public License as published by |
548 | 548 |
549 (defun vc-cvs-could-register (file) | 549 (defun vc-cvs-could-register (file) |
550 "Return non-nil if FILE could be registered in CVS. | 550 "Return non-nil if FILE could be registered in CVS. |
551 This is only possible if CVS is responsible for FILE's directory." | 551 This is only possible if CVS is responsible for FILE's directory." |
552 (vc-cvs-responsible-p file)) | 552 (vc-cvs-responsible-p file)) |
553 | |
554 (defun vc-cvs-make-version-backups (file) | |
555 "Return non-nil if version backups should be made for FILE." | |
556 (vc-cvs-stay-local-p file)) | |
553 | 557 |
554 (defun vc-cvs-register (file &optional rev comment) | 558 (defun vc-cvs-register (file &optional rev comment) |
555 "Register FILE into the CVS version-control system. | 559 "Register FILE into the CVS version-control system. |
556 COMMENT can be used to provide an initial description of FILE. | 560 COMMENT can be used to provide an initial description of FILE. |
557 | 561 |