# HG changeset patch # User Thien-Thi Nguyen # Date 1201845096 0 # Node ID 194bf468eb2a2dd69556989329e7be84e72e444a # Parent 844da08c30b8f65e971c0c901474759a51fcc35a (vc-update): Fix bug: Specify branch tip as vc-checkout REVISION. diff -r 844da08c30b8 -r 194bf468eb2a lisp/vc.el --- 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"