Function: vc-svn-next-revision
vc-svn-next-revision is a byte-compiled function defined in
vc-svn.el.gz.
Signature
(vc-svn-next-revision FILE REV)
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-svn.el.gz
(defun vc-svn-next-revision (file rev)
(let ((newrev (1+ (string-to-number rev))))
;; The "working revision" is an uneasy conceptual fit under Subversion;
;; we use it as the upper bound until a better idea comes along. If the
;; workfile version W coincides with the tree's latest revision R, then
;; this check prevents a "no such revision: R+1" error. Otherwise, it
;; inhibits showing of W+1 through R, which could be considered anywhere
;; from gracious to impolite.
(unless (< (string-to-number (vc-file-getprop file 'vc-working-revision))
newrev)
(number-to-string newrev))))