Looks like you'll need to be calling vc-print-log-internal
with the IS-START-REVISION
argument. e.g.:
(vc-print-log-internal 'Git '("/var/www/CHANGELOG.txt") "origin/master" t 2000)
You could make a modified variant of vc-print-log
to provide a command to do this, if there's nothing which does this already? (and I'm not seeing anything myself).
(defun my-vc-print-revision-log (working-revision &optional limit)
"List the change log at WORKING-REVISION of the current fileset in a window.
If LIMIT is non-nil, it should be a number specifying the maximum
number of revisions to show; the default is `vc-log-show-limit'.
When called interactively with a prefix argument, prompts for LIMIT also."
(interactive
(let ((rev (read-from-minibuffer
"Working revision (default: last revision): " nil nil nil nil))
(lim (when current-prefix-arg
(string-to-number (read-from-minibuffer
"Limit display (unlimited: 0): "
(format "%s" vc-log-show-limit)
nil nil nil)))))
(when (string= rev "") (setq rev nil))
(when (and lim (<= lim 0)) (setq lim nil))
(list rev lim)))
(let* ((vc-fileset (vc-deduce-fileset t)) ;FIXME: Why t? --Stef
(backend (car vc-fileset))
(files (cadr vc-fileset)))
(vc-print-log-internal backend files working-revision t limit)))