summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Spiegel <spiegel@gnu.org>2003-01-19 06:52:58 +0000
committerAndré Spiegel <spiegel@gnu.org>2003-01-19 06:52:58 +0000
commite1f517c9f5741630de93c7fe5268112f3a61cdef (patch)
tree444a95873ef8dc27bdb99c3438fdd7a5a9ee17fe
parent5ee63c3030fffb6eafd2cd555d51ef15046ee4fb (diff)
downloademacs-e1f517c9f5741630de93c7fe5268112f3a61cdef.tar.gz
(vc-sccs-checkout): Handle t argument for REV.
-rw-r--r--lisp/vc-sccs.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el
index f3b922d143e..291c95d695b 100644
--- a/lisp/vc-sccs.el
+++ b/lisp/vc-sccs.el
@@ -5,7 +5,7 @@
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
-;; $Id: vc-sccs.el,v 1.12 2001/07/16 12:22:59 pj Exp $
+;; $Id$
;; This file is part of GNU Emacs.
@@ -226,7 +226,9 @@ locked. REV is the revision to check out into WORKFILE."
;; the file in the right place.
(setq default-directory (file-name-directory filename))
- (and rev (string= rev "") (setq rev nil))
+ (and rev (or (string= rev "")
+ (not (stringp rev)))
+ (setq rev nil))
(if workfile
;; Some SCCS implementations allow checking out directly to a
;; file using the -G option, but then some don't so use the