From: André Spiegel Date: Tue, 7 Jan 2003 08:28:15 +0000 (+0000) Subject: (vc-rcs-checkout): Fix the check whether we are on a branch. X-Git-Tag: ttn-vms-21-2-B4~11793 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a207e923bd658a1f66442916e1e0f5e8c46842cf;p=emacs.git (vc-rcs-checkout): Fix the check whether we are on a branch. --- 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