From: Glenn Morris Date: Sat, 15 Sep 2012 00:45:00 +0000 (-0400) Subject: Tweak previous emacs-bzr-get-version change X-Git-Tag: emacs-24.2.90~274^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fea895b1d20c919021a99d9595248a53bcaff88c;p=emacs.git Tweak previous emacs-bzr-get-version change --- diff --git a/lisp/version.el b/lisp/version.el index 8ef279828b1..47476cb268a 100644 --- a/lisp/version.el +++ b/lisp/version.el @@ -113,7 +113,7 @@ of the sources, which may not correspond to the running Emacs. Optional argument DIR is a directory to use instead of `source-directory'." (or dir (setq dir source-directory)) - (when (file-directory-p dir) + (when (file-directory-p (expand-file-name ".bzr/branch" dir)) (let (file loc rev) (cond ((file-readable-p (setq file (expand-file-name ".bzr/branch/last-revision" dir)))