aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2010-04-19 11:26:06 -0400
committerStefan Monnier2010-04-19 11:26:06 -0400
commitc80fa13c0d799fda7b8141875a78b877d0e526fc (patch)
tree1ea3fe4f56f0892dafb2eb0cec471d6513f84113
parent6e104790e756226cbb5b7feaf01854103ded9f36 (diff)
downloademacs-c80fa13c0d799fda7b8141875a78b877d0e526fc.tar.gz
emacs-c80fa13c0d799fda7b8141875a78b877d0e526fc.zip
* vc-bzr: Use standard *vc* and *vc-diff* buffers.
(vc-bzr-shelve-show, vc-bzr-shelve-apply) (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot): Don't use *vc-bzr-shelve*.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/vc-bzr.el12
2 files changed, 13 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f690d8bb2a7..93a008c8e16 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
4 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6 Don't use *vc-bzr-shelve*.
7
12010-04-19 Chong Yidong <cyd@stupidchicken.com> 82010-04-19 Chong Yidong <cyd@stupidchicken.com>
2 9
3 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): 10 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index 2c576623120..64935f16dbd 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -899,10 +899,10 @@ stream. Standard error output is discarded."
899(defun vc-bzr-shelve-show (name) 899(defun vc-bzr-shelve-show (name)
900 "Show the contents of shelve NAME." 900 "Show the contents of shelve NAME."
901 (interactive "sShelve name: ") 901 (interactive "sShelve name: ")
902 (vc-setup-buffer "*vc-bzr-shelve*") 902 (vc-setup-buffer "*vc-diff*")
903 ;; FIXME: how can you show the contents of a shelf? 903 ;; FIXME: how can you show the contents of a shelf?
904 (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 'async nil "--preview" name) 904 (vc-bzr-command "unshelve" "*vc-diff*" 'async nil "--preview" name)
905 (set-buffer "*vc-bzr-shelve*") 905 (set-buffer "*vc-diff*")
906 (diff-mode) 906 (diff-mode)
907 (setq buffer-read-only t) 907 (setq buffer-read-only t)
908 (pop-to-buffer (current-buffer))) 908 (pop-to-buffer (current-buffer)))
@@ -910,13 +910,13 @@ stream. Standard error output is discarded."
910(defun vc-bzr-shelve-apply (name) 910(defun vc-bzr-shelve-apply (name)
911 "Apply shelve NAME and remove it afterwards." 911 "Apply shelve NAME and remove it afterwards."
912 (interactive "sApply (and remove) shelf: ") 912 (interactive "sApply (and remove) shelf: ")
913 (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" name) 913 (vc-bzr-command "unshelve" nil 0 nil "--apply" name)
914 (vc-resynch-buffer (vc-bzr-root default-directory) t t)) 914 (vc-resynch-buffer (vc-bzr-root default-directory) t t))
915 915
916(defun vc-bzr-shelve-apply-and-keep (name) 916(defun vc-bzr-shelve-apply-and-keep (name)
917 "Apply shelve NAME and keep it afterwards." 917 "Apply shelve NAME and keep it afterwards."
918 (interactive "sApply (and keep) shelf: ") 918 (interactive "sApply (and keep) shelf: ")
919 (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" "--keep" name) 919 (vc-bzr-command "unshelve" nil 0 nil "--apply" "--keep" name)
920 (vc-resynch-buffer (vc-bzr-root default-directory) t t)) 920 (vc-resynch-buffer (vc-bzr-root default-directory) t t))
921 921
922(defun vc-bzr-shelve-snapshot () 922(defun vc-bzr-shelve-snapshot ()
@@ -927,7 +927,7 @@ stream. Standard error output is discarded."
927 (concat 927 (concat
928 (format-time-string "Snapshot on %Y-%m-%d" ct) 928 (format-time-string "Snapshot on %Y-%m-%d" ct)
929 (format-time-string " at %H:%M" ct)))) 929 (format-time-string " at %H:%M" ct))))
930 (vc-bzr-command "unshelve" "*vc-bzr-shelve*" 0 nil "--apply" "--keep") 930 (vc-bzr-command "unshelve" nil 0 nil "--apply" "--keep")
931 (vc-resynch-buffer (vc-bzr-root default-directory) t t)) 931 (vc-resynch-buffer (vc-bzr-root default-directory) t t))
932 932
933(defun vc-bzr-shelve-list () 933(defun vc-bzr-shelve-list ()