From eaf07ced98808b82c0db7fc75a91c1c791fe6206 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 1 Feb 2008 05:51:06 +0000 Subject: [PATCH] (vc-update): Fix bug: Specify branch tip as vc-checkout REVISION. --- lisp/ChangeLog | 5 +++++ lisp/vc.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 407e9496e13..4f046690813 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-02-01 Thien-Thi Nguyen + + * vc.el (vc-update): Fix bug: Specify branch tip as + vc-checkout REVISION. Reported by Dan Nicolaescu. + 2008-02-01 Stefan Monnier * simple.el (reindent-then-newline-and-indent): Be careful about the diff --git a/lisp/vc.el b/lisp/vc.el index e7fc52b5019..e221044b769 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -2597,7 +2597,7 @@ the current branch are merged into the working file." (vc-buffer-sync nil) (let ((file buffer-file-name)) (if (vc-up-to-date-p file) - (vc-checkout file nil "") + (vc-checkout file nil t) (if (eq (vc-checkout-model file) 'locking) (if (eq (vc-state file) 'edited) (error -- 2.39.2