+2008-05-09 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc.el (vc-version-diff, vc-print-log, vc-revert, vc-rollback)
+ (vc-update): Remove unused let bindings.
+
2008-05-09 Eric S. Raymond <esr@snark.thyrsus.com>
* vc.el (vc-deduce-fileset, vc-next-action, vc-version-diff)
- (vc-diff, vc-rwevert, vc-rollback, vc-update),
- vc-dispatcher.el (vc-dispatcher-selection-set):
+ (vc-diff, vc-revert, vc-rollback, vc-update):
+ * vc-dispatcher.el (vc-dispatcher-selection-set):
Get rid of 4 special cases in fileset selection. This involved
changing the return value of (vc-deduce-fileset) so that it passes
back a deduced state as well as a deduced back end,
"Report diffs between revisions of the fileset in the repository history."
(interactive
(let* ((vc-fileset (vc-deduce-fileset))
- (backend (car files))
- (state (cadr vc-fileset))
(files (cddr vc-fileset))
(first (car files))
(completion-table
(interactive)
(let* ((vc-fileset (vc-deduce-fileset))
(backend (car vc-fileset))
- (state (cadr vc-fileset))
(files (cddr vc-fileset))
(working-revision (or working-revision (vc-working-revision (car files)))))
;; Don't switch to the output buffer before running the command,
to the working revision (except for keyword expansion)."
(interactive)
(let* ((vc-fileset (vc-deduce-fileset))
- (backend (car vc-fileset))
- (state (cadr vc-fileset))
(files (cddr vc-fileset)))
;; If any of the files is visited by the current buffer, make
;; sure buffer is saved. If the user says `no', abort since
(interactive)
(let* ((vc-fileset (vc-deduce-fileset))
(backend (car vc-fileset))
- (state (cadr vc-fileset))
(files (cddr vc-fileset))
(granularity (vc-call-backend backend 'revision-granularity)))
(unless (vc-find-backend-function backend 'rollback)
(interactive)
(let* ((vc-fileset (vc-deduce-fileset))
(backend (car vc-fileset))
- (state (cadr vc-fileset))
(files (cddr vc-fileset)))
(dolist (file files)
(when (let ((buf (get-file-buffer file)))