changeset 49092:da6da3a685c2

(vc-rcs-checkout): Fix the check whether we are on a branch.
author André Spiegel <spiegel@gnu.org>
date Tue, 07 Jan 2003 08:28:15 +0000
parents 4d9ad5d4f2d4
children 848887153ebb
files lisp/vc-rcs.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-rcs.el	Tue Jan 07 05:50:36 2003 +0000
+++ b/lisp/vc-rcs.el	Tue Jan 07 08:28:15 2003 +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.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 @@
                                        ;; 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