]> git.eshelyaron.com Git - emacs.git/commit
Refresh Dired and VC-dir buffers after vc-pull and vc-merge.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 21:19:21 +0000 (16:19 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 21:19:21 +0000 (16:19 -0500)
commita2b6e5d60b10c6baa3fbc36bfb158342c1c424ab
tree408b3a15fdee9f1443aa155efeef376df69e12de
parentb6bcd04894c08ef2ec8ad7569f028fc85793f8a6
Refresh Dired and VC-dir buffers after vc-pull and vc-merge.

* vc/vc-dispatcher.el (vc-set-async-update): New function for
updating Dired or VC-dir buffers after async command completes.

* vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.

* vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
completions if it exists.  Use vc-set-async-update.
(vc-git-pull): Use vc-set-async-update.

* vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
read-shell-command.  Use vc-set-async-update.
(vc-hg-merge-branch): Use vc-set-async-update.
lisp/ChangeLog
lisp/vc/vc-bzr.el
lisp/vc/vc-dispatcher.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el