diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/vc/vc-bzr.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ad381e67cf8..a577dc1f382 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-11-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status): | ||
| 4 | Accept status with more than 9 shelves. (Bug#9935) | ||
| 5 | Reported by Colin D Bennett <colin@gibibit.com>. | ||
| 6 | |||
| 1 | 2011-11-01 Martin Rudalics <rudalics@gmx.at> | 7 | 2011-11-01 Martin Rudalics <rudalics@gmx.at> |
| 2 | 8 | ||
| 3 | * help.el (with-help-window): Don't reference | 9 | * help.el (with-help-window): Don't reference |
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el index cc28db689e9..f6b6a56f31c 100644 --- a/lisp/vc/vc-bzr.el +++ b/lisp/vc/vc-bzr.el | |||
| @@ -444,7 +444,7 @@ If any error occurred in running `bzr status', then return nil." | |||
| 444 | (let ((warnings (cdr result))) | 444 | (let ((warnings (cdr result))) |
| 445 | (when warnings | 445 | (when warnings |
| 446 | ;; bzr 2.3.0 returns info about shelves, which is not really a warning | 446 | ;; bzr 2.3.0 returns info about shelves, which is not really a warning |
| 447 | (when (string-match "[1-9]+ shel\\(f\\|ves\\) exists?\\..*?\n" warnings) | 447 | (when (string-match "[0-9]+ shel\\(f\\|ves\\) exists?\\..*?\n" warnings) |
| 448 | (setq warnings (replace-match "" nil nil warnings))) | 448 | (setq warnings (replace-match "" nil nil warnings))) |
| 449 | (unless (string= warnings "") | 449 | (unless (string= warnings "") |
| 450 | (message "Warnings in `bzr' output: %s" warnings)))) | 450 | (message "Warnings in `bzr' output: %s" warnings)))) |
| @@ -891,7 +891,7 @@ stream. Standard error output is discarded." | |||
| 891 | (goto-char (point-min)) | 891 | (goto-char (point-min)) |
| 892 | (while (not (eobp)) | 892 | (while (not (eobp)) |
| 893 | ;; Bzr 2.3.0 added this if there are shelves. (Bug#8170) | 893 | ;; Bzr 2.3.0 added this if there are shelves. (Bug#8170) |
| 894 | (unless (looking-at "[1-9]+ shel\\(f\\|ves\\) exists?\\.") | 894 | (unless (looking-at "[0-9]+ shel\\(f\\|ves\\) exists?\\.") |
| 895 | (setq status-str | 895 | (setq status-str |
| 896 | (buffer-substring-no-properties (point) (+ (point) 3))) | 896 | (buffer-substring-no-properties (point) (+ (point) 3))) |
| 897 | (setq translated (cdr (assoc status-str translation))) | 897 | (setq translated (cdr (assoc status-str translation))) |