From a207e923bd658a1f66442916e1e0f5e8c46842cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Spiegel?= Date: Tue, 7 Jan 2003 08:28:15 +0000 Subject: [PATCH] (vc-rcs-checkout): Fix the check whether we are on a branch. --- lisp/vc-rcs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index ea113275bd9..23686006ac5 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.el @@ -5,7 +5,7 @@ ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Andre Spiegel -;; $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 -- 2.11.4.GIT