Mercurial > emacs
changeset 103282:29f059f3011c
(ediff-vc-latest-version): Use property `vc-latest-revision' instead
of `vc-latest-version'. (It was renamed in the big VC overhaul.)
author | Johan Bockgård <bojohan@gnu.org> |
---|---|
date | Sat, 23 May 2009 12:46:55 +0000 |
parents | 5ad347d58789 |
children | 6bef200e9243 |
files | lisp/ChangeLog lisp/ediff-vers.el |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat May 23 09:10:42 2009 +0000 +++ b/lisp/ChangeLog Sat May 23 12:46:55 2009 +0000 @@ -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
--- a/lisp/ediff-vers.el Sat May 23 09:10:42 2009 +0000 +++ b/lisp/ediff-vers.el Sat May 23 12:46:55 2009 +0000 @@ -69,10 +69,10 @@ "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)))) ))