Commit e290f028 authored by Johan Bockgård's avatar Johan Bockgård
Browse files

(ediff-vc-latest-version): Use property `vc-latest-revision' instead

of `vc-latest-version'. (It was renamed in the big VC overhaul.)
parent 21f73755
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))))
))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment