Mercurial > emacs
changeset 106386:d1166d927ca2
(vc-bzr-print-log): Deal with nil arguments better.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 03 Dec 2009 07:31:15 +0000 |
parents | cd8b405d57c6 |
children | e01e9655414f |
files | lisp/ChangeLog lisp/vc-bzr.el |
diffstat | 2 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Dec 03 05:41:17 2009 +0000 +++ b/lisp/ChangeLog Thu Dec 03 07:31:15 2009 +0000 @@ -1,3 +1,7 @@ +2009-12-03 Dan Nicolaescu <dann@ics.uci.edu> + + * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better. + 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca> * textmodes/bibtex.el (bibtex-complete-internal):
--- a/lisp/vc-bzr.el Thu Dec 03 05:41:17 2009 +0000 +++ b/lisp/vc-bzr.el Thu Dec 03 07:31:15 2009 +0000 @@ -493,11 +493,12 @@ ;; way of getting the above regexps working. (with-current-buffer buffer (apply 'vc-bzr-command "log" buffer 'async files - (when shortlog "--short") - (when limit (list "-l" (format "%s" limit))) - (if (stringp vc-bzr-log-switches) - (list vc-bzr-log-switches) - vc-bzr-log-switches)))) + (append + (when shortlog '("--short")) + (when limit (list "-l" (format "%s" limit))) + (if (stringp vc-bzr-log-switches) + (list vc-bzr-log-switches) + vc-bzr-log-switches))))) (defun vc-bzr-show-log-entry (revision) "Find entry for patch name REVISION in bzr change log buffer."