Mercurial > emacs
changeset 31835:67ea0d3e062b
(vc-rcs-checkin): Fix bug that prevented check-in without explicit
revision number.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Fri, 22 Sep 2000 07:48:08 +0000 |
parents | b7966a0eec91 |
children | 69ccb7fbb1c1 |
files | lisp/vc-rcs.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc-rcs.el Thu Sep 21 21:50:10 2000 +0000 +++ b/lisp/vc-rcs.el Fri Sep 22 07:48:08 2000 +0000 @@ -5,7 +5,7 @@ ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Andre Spiegel <spiegel@gnu.org> -;; $Id: vc-rcs.el,v 1.4 2000/09/09 00:48:40 monnier Exp $ +;; $Id: vc-rcs.el,v 1.5 2000/09/21 13:21:41 spiegel Exp $ ;; This file is part of GNU Emacs. @@ -592,7 +592,7 @@ ;; allow creation of branches with no changes; ;; this is used by vc-rcs-receive-file if the ;; base version cannot be found - (if (string-match ".1.1$" rev) "-f") + (if (and (stringp rev) (string-match ".1.1$" rev)) "-f") switches) (vc-file-setprop file 'vc-workfile-version nil)