Improve emacs-bzr-version for lightweight checkouts (bug#12441)
authorGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2012 00:33:40 +0000 (20:33 -0400)
committerGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2012 00:33:40 +0000 (20:33 -0400)
commitf40a97091f5ae5ba94d46e41dbc072e2e80c1730
treed058beb7559f024221f9228e5abbcf794c3fc0ab
parentcb26b7f5728f68d118c2f1a6694f6cedbf28a0d9
Improve emacs-bzr-version for lightweight checkouts (bug#12441)

* lisp/version.el (emacs-bzr-version): Doc fix.
(emacs-bzr-version-dirstate): New function.
(emacs-bzr-get-version): For lightweight checkouts, if the parent
is local try and check that it matches the branch.  If not, just
use dirstate information.
lisp/ChangeLog
lisp/version.el