changeset 48967:9f461f463a94

(vc-sccs-checkout): Handle t argument for REV.
author André Spiegel <spiegel@gnu.org>
date Thu, 26 Dec 2002 14:07:15 +0000
parents a327c58de610
children 9e752ba5dcc3
files lisp/vc-sccs.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-sccs.el	Thu Dec 26 14:06:33 2002 +0000
+++ b/lisp/vc-sccs.el	Thu Dec 26 14:07:15 2002 +0000
@@ -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 @@
 	  ;; 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)))