Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
edace89f
Commit
edace89f
authored
Jan 22, 2014
by
Glenn Morris
Browse files
* lisp/version.el (emacs-bzr-version-bzr): Fix typo.
parent
983664c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/version.el
lisp/version.el
+2
-2
No files found.
lisp/ChangeLog
View file @
edace89f
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
...
...
lisp/version.el
View file @
edace89f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment