changeset 88111:194bf468eb2a

(vc-update): Fix bug: Specify branch tip as vc-checkout REVISION.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Fri, 01 Feb 2008 05:51:36 +0000
parents 844da08c30b8
children 70bf1e0f5621
files lisp/vc.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Fri Feb 01 04:51:31 2008 +0000
+++ b/lisp/vc.el	Fri Feb 01 05:51:36 2008 +0000
@@ -2980,7 +2980,7 @@
     (if (buffer-modified-p (get-file-buffer file))
 	(error "Please kill or save all modified buffers before updating."))
     (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 "%s"