summaryrefslogtreecommitdiff
path: root/lisp/vc-mcvs.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2007-12-28 08:59:50 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2007-12-28 08:59:50 +0000
commit18e1f24981ba72ede1fb434568e18ed0e46debbd (patch)
tree4e753b9c938b377f2904f2640ff4bb2b385a1f06 /lisp/vc-mcvs.el
parenta50d124451e48606aef655c0cde38b4cbf139988 (diff)
downloademacs-18e1f24981ba72ede1fb434568e18ed0e46debbd.tar.gz
emacs-18e1f24981ba72ede1fb434568e18ed0e46debbd.tar.bz2
emacs-18e1f24981ba72ede1fb434568e18ed0e46debbd.zip
* vc-bzr.el, vc-cvs.el, vc-git.el, vc-hg.el, vc-mcvs.el, vc-svn.el:
Modify all instances of the dir-state back-end method to suppress keeping undo lists on the buffers holding astatus output, which csn get extremely large.
Diffstat (limited to 'lisp/vc-mcvs.el')
-rw-r--r--lisp/vc-mcvs.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/vc-mcvs.el b/lisp/vc-mcvs.el
index ba0ccf47747..4732f8dcfe1 100644
--- a/lisp/vc-mcvs.el
+++ b/lisp/vc-mcvs.el
@@ -187,6 +187,7 @@ This is only meaningful if you don't use the implicit checkout model
;; Don't specify DIR in this command, the default-directory is
;; enough. Otherwise it might fail with remote repositories.
(with-temp-buffer
+ (buffer-disable-undo) ;; Because these buffers can get huge
(setq default-directory (vc-mcvs-root dir))
(vc-mcvs-command t 0 nil "status")
(goto-char (point-min))