Fixes for emacs-repository-get-version
authorGlenn Morris <rgm@gnu.org>
Wed, 22 Jan 2014 17:26:14 +0000 (09:26 -0800)
committerGlenn Morris <rgm@gnu.org>
Wed, 22 Jan 2014 17:26:14 +0000 (09:26 -0800)
commit2a5bce4f0c0bdb7e07385d1d6e03232224b1e466
treef281973cec1ca592b14555ebe8526ff28b845cf4
parent6cb4da45dc3d0660a65b29e192e82a37e3ad505c
Fixes for emacs-repository-get-version

* lisp/version.el (emacs-repository-get-version):
Check either .bzr or .git, but not both.
Make the git case actually use the DIR argument, and return nil
rather than the empty string.

* etc/NEWS: Don't mention that emacs-repository-version works for git,
because it only returns nil (since it uses %N and there seem to be no
notes in the git version of the Emacs repo.)
No idea why this change is in trunk during a feature freeze anyway.
etc/NEWS
lisp/ChangeLog
lisp/version.el