diff options
| -rw-r--r-- | lisp/vc-bzr.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el index 49bf677958b..d04c783ca32 100644 --- a/lisp/vc-bzr.el +++ b/lisp/vc-bzr.el | |||
| @@ -363,8 +363,9 @@ If any error occurred in running `bzr status', then return nil." | |||
| 363 | (let ((l-c-parent-dir (match-string 1))) | 363 | (let ((l-c-parent-dir (match-string 1))) |
| 364 | (when (and (memq system-type '(ms-dos windows-nt)) | 364 | (when (and (memq system-type '(ms-dos windows-nt)) |
| 365 | (string-match-p "^/[[:alpha:]]:" l-c-parent-dir)) | 365 | (string-match-p "^/[[:alpha:]]:" l-c-parent-dir)) |
| 366 | ;;; On Windows, file:// URLs often have three slashes, | 366 | ;;; The non-Windows code takes a shortcut by using the host/path |
| 367 | ;;; so we must remove the remaining one (bug#5345) | 367 | ;;; separator slash as the start of the absolute path. That |
| 368 | ;;; does not work on Windows, so we must remove it (bug#5345) | ||
| 368 | (setq l-c-parent-dir (substring l-c-parent-dir 1))) | 369 | (setq l-c-parent-dir (substring l-c-parent-dir 1))) |
| 369 | (setq branch-format-file | 370 | (setq branch-format-file |
| 370 | (expand-file-name vc-bzr-admin-branch-format-file | 371 | (expand-file-name vc-bzr-admin-branch-format-file |