]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-rcs-checkout): Fix the check whether we are on a branch.
authorAndré Spiegel <spiegel@gnu.org>
Tue, 7 Jan 2003 08:28:15 +0000 (08:28 +0000)
committerAndré Spiegel <spiegel@gnu.org>
Tue, 7 Jan 2003 08:28:15 +0000 (08:28 +0000)
lisp/vc-rcs.el

index ea113275bd9b5d6ab1ed75ad41e9b2f162c31c6a..23686006ac5b3b93f9f4695dd5d4eb4413548448 100644 (file)
@@ -5,7 +5,7 @@
 ;; Author:     FSF (see vc.el for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc-rcs.el,v 1.33 2002/12/26 14:38:20 spiegel Exp $
+;; $Id: vc-rcs.el,v 1.34 2003/01/03 15:27:35 spiegel Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -413,7 +413,7 @@ whether to remove it."
                                        ;; use current workfile version
                                        workrev
                                      ;; REV is t ...
-                                     (if (vc-branch-p workrev)
+                                     (if (not (vc-trunk-p workrev))
                                          ;; ... go to head of current branch
                                          (vc-branch-part workrev)
                                        ;; ... go to head of trunk