Function: vc-bzr-show-log-entry
vc-bzr-show-log-entry is a byte-compiled function defined in
vc-bzr.el.gz.
Signature
(vc-bzr-show-log-entry REVISION)
Documentation
Find entry for patch name REVISION in bzr change log buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-bzr.el.gz
(defun vc-bzr-show-log-entry (revision)
"Find entry for patch name REVISION in bzr change log buffer."
(goto-char (point-min))
(when revision
(let (case-fold-search
found)
(if (re-search-forward
;; "revno:" can appear either at the beginning of a line,
;; or indented.
(concat "^[ ]*-+\n[ ]*revno: "
;; The revision can contain ".", quote it so that it
;; does not interfere with regexp matching.
(regexp-quote revision) "$") nil t)
(progn
(beginning-of-line 0)
(setq found t))
(goto-char (point-min)))
found)))