aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-01-13 20:03:35 +0000
committerDan Nicolaescu2008-01-13 20:03:35 +0000
commitc6a234ac6c8a198b2b627b72bb7d56d22b71638a (patch)
tree0ad9468f90f09bdc6dfdb21ea052253a7e9bfe11
parentf40f5dc36e552879e565e489a4e3a5f19be7e4ea (diff)
downloademacs-c6a234ac6c8a198b2b627b72bb7d56d22b71638a.tar.gz
emacs-c6a234ac6c8a198b2b627b72bb7d56d22b71638a.zip
* vc.el (vc-update): Resolve conflicts if necessary instead of
just updating the buffer. * vc-cvs.el (vc-cvs-merge-news): Ignore the error status of the update command so that we can parse the output.
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/vc-cvs.el2
-rw-r--r--lisp/vc.el3
3 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f30ec291583..3e9da0593db 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * vc.el (vc-update): Resolve conflicts if necessary instead of
4 just updating the buffer.
5
6 * vc-cvs.el (vc-cvs-merge-news): Ignore the error status of the
7 update command so that we can parse the output.
8
12008-01-13 Martin Rudalics <rudalics@gmx.at> 92008-01-13 Martin Rudalics <rudalics@gmx.at>
2 10
3 * mail/rmail.el (rmail-convert-to-babyl-format): Remove 11 * mail/rmail.el (rmail-convert-to-babyl-format): Remove
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index d84c2839573..cc4cd47cfe7 100644
--- a/lisp/vc-cvs.el
+++ b/lisp/vc-cvs.el
@@ -453,7 +453,7 @@ The changes are between FIRST-REVISION and SECOND-REVISION."
453 (message "Merging changes into %s..." file) 453 (message "Merging changes into %s..." file)
454 ;; (vc-file-setprop file 'vc-working-revision nil) 454 ;; (vc-file-setprop file 'vc-working-revision nil)
455 (vc-file-setprop file 'vc-checkout-time 0) 455 (vc-file-setprop file 'vc-checkout-time 0)
456 (vc-cvs-command nil 0 file "update") 456 (vc-cvs-command nil nil file "update")
457 ;; Analyze the merge result reported by CVS, and set 457 ;; Analyze the merge result reported by CVS, and set
458 ;; file properties accordingly. 458 ;; file properties accordingly.
459 (with-current-buffer (get-buffer "*vc*") 459 (with-current-buffer (get-buffer "*vc*")
diff --git a/lisp/vc.el b/lisp/vc.el
index 88915f3715f..5006af37ec5 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2899,8 +2899,7 @@ changes from the current branch are merged into the working file."
2899 (if (not (vc-find-backend-function (vc-backend file) 'merge-news)) 2899 (if (not (vc-find-backend-function (vc-backend file) 'merge-news))
2900 (error "Sorry, merging news is not implemented for %s" 2900 (error "Sorry, merging news is not implemented for %s"
2901 (vc-backend file)) 2901 (vc-backend file))
2902 (vc-call merge-news file) 2902 (vc-maybe-resolve-conflicts file (vc-call merge-news file)))))))
2903 (vc-resynch-buffer file t t))))))
2904 2903
2905(defun vc-version-backup-file (file &optional rev) 2904(defun vc-version-backup-file (file &optional rev)
2906 "Return name of backup file for revision REV of FILE. 2905 "Return name of backup file for revision REV of FILE.