]> git.eshelyaron.com Git - emacs.git/commit
(vc-revert-buffer1): Split part of the function into vc-buffer-context
authorAndré Spiegel <spiegel@gnu.org>
Thu, 17 Aug 1995 12:40:03 +0000 (12:40 +0000)
committerAndré Spiegel <spiegel@gnu.org>
Thu, 17 Aug 1995 12:40:03 +0000 (12:40 +0000)
commitc8de1d91120419d2cd185a7ed8c94693e70c7bd0
treef053f88aa923d2c3e493fbb74d8522291f72e663
parent0671e80b5ed1fcc5a51e32a6f047ae228e4d7caa
(vc-revert-buffer1): Split part of the function into vc-buffer-context
and vc-restore-buffer-context, so we can use it also in other
circumstances.
(vc-buffer-context, vc-restore-buffer-context): New functions.
(vc-clear-headers): New function, uses the above.
(vc-cancel-version): When `norevert', locks the most recent remaining
version.  Also, refuse to work on anything but the latest version of
a branch.  Removed the check whether the version is the user's,
because that is difficult to decide, now that multiple branches are
possible.
(vc-latest-on-branch-p): New function.
(vc-head-version): New access function to the already existing
property.
(vc-trunk-p, vc-branch-part): Functions moved before first use.
lisp/vc.el