Commit edace89f authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/version.el (emacs-bzr-version-bzr): Fix typo.

parent 983664c0
2014-01-22 Glenn Morris <rgm@gnu.org>
* version.el (emacs-bzr-version-bzr): Fix typo.
* 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
......
......@@ -106,7 +106,7 @@ Returns nil if unable to find this information."
(looking-at "[0-9]+\0\\([^\0\n]+\\)\0")
(match-string 1))))))
(defun emacs-bzr-version-bzr (_dir)
(defun emacs-bzr-version-bzr (dir)
"Ask bzr itself for the version information for directory DIR."
;; Comments on `bzr version-info':
;; i) Unknown files also cause clean != 1.
......@@ -125,7 +125,7 @@ Returns nil if unable to find this information."
(call-process "bzr" nil '(t nil) nil "version-info"
"--custom"
"--template={revno} {revision_id} (clean = {clean})"
"dir"))
dir))
(buffer-string))))
(define-obsolete-function-alias 'emacs-bzr-get-version
......
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