mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
(ediff-vc-latest-version): Use property `vc-latest-revision' instead
of `vc-latest-version'. (It was renamed in the big VC overhaul.)
This commit is contained in:
parent
21f73755fe
commit
e290f028d6
@ -1,3 +1,9 @@
|
||||
2009-05-23 Johan Bockgård <bojohan@gnu.org>
|
||||
|
||||
* ediff-vers.el (ediff-vc-latest-version): Use property
|
||||
`vc-latest-revision' instead of `vc-latest-version'. (It was
|
||||
renamed in the big VC overhaul.)
|
||||
|
||||
2009-05-23 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* progmodes/grep.el (grep-compute-defaults): Simplify how settings
|
||||
|
@ -69,10 +69,10 @@ comparison or merge operations are being performed."
|
||||
"Return the version level of the latest version of FILE in repository."
|
||||
(if (fboundp 'vc-latest-version)
|
||||
(vc-latest-version file)
|
||||
(or (vc-file-getprop file 'vc-latest-version)
|
||||
(or (vc-file-getprop file 'vc-latest-revision)
|
||||
(cond ((vc-backend file)
|
||||
(vc-call state file)
|
||||
(vc-file-getprop file 'vc-latest-version))
|
||||
(vc-file-getprop file 'vc-latest-revision))
|
||||
(t (error "File %s is not under version control" file))))
|
||||
))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user