mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-17 17:58:46 +00:00
(vc-update): Fix bug: Specify branch tip as vc-checkout REVISION.
This commit is contained in:
parent
ed3fdc0ea2
commit
eaf07ced98
@ -1,3 +1,8 @@
|
||||
2008-02-01 Thien-Thi Nguyen <ttn@gnuvola.org>
|
||||
|
||||
* vc.el (vc-update): Fix bug: Specify branch tip as
|
||||
vc-checkout REVISION. Reported by Dan Nicolaescu.
|
||||
|
||||
2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* simple.el (reindent-then-newline-and-indent): Be careful about the
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user