# HG changeset patch # User Andr Spiegel # Date 1041928095 0 # Node ID da6da3a685c2d1fd6e77131e14bd20ea89414ab0 # Parent 4d9ad5d4f2d4c71cf03b951387f4a2330ff6ad3c (vc-rcs-checkout): Fix the check whether we are on a branch. diff -r 4d9ad5d4f2d4 -r da6da3a685c2 lisp/vc-rcs.el --- 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 -;; $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