summaryrefslogtreecommitdiff
path: root/lisp/vc-sccs.el
diff options
context:
space:
mode:
authorAndré Spiegel <spiegel@gnu.org>2002-12-26 14:07:15 +0000
committerAndré Spiegel <spiegel@gnu.org>2002-12-26 14:07:15 +0000
commit9cdc36a2940c73b03f9990d5f027a9e4e9e5b756 (patch)
tree43f04b57f9b6d88e45c055e53f119071ce4de37d /lisp/vc-sccs.el
parentdfea00b930099b63653e3c08937231d06f5179da (diff)
downloademacs-9cdc36a2940c73b03f9990d5f027a9e4e9e5b756.tar.gz
(vc-sccs-checkout): Handle t argument for REV.
Diffstat (limited to 'lisp/vc-sccs.el')
-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 9de8c3ccadb..99737ae2c59 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.18 2002/11/12 19:50:54 rost Exp $
+;; $Id: vc-sccs.el,v 1.19 2002/11/13 12:37:58 spiegel Exp $
;; This file is part of GNU Emacs.
@@ -242,7 +242,9 @@ locked. REV is the revision to check out."
;; the file in the right place.
(setq default-directory (file-name-directory file))
- (and rev (string= rev "") (setq rev nil))
+ (and rev (or (string= rev "")
+ (not (stringp rev)))
+ (setq rev nil))
(apply 'vc-do-command nil 0 "get" (vc-name file)
(if editable "-e")
(and rev (concat "-r" (vc-sccs-lookup-triple file rev)))