aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc-bzr.el5
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 22f561f8ef8..3c53662600a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-01-09 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
4 URLs with a leading triple slash in the file: scheme. (Bug#5345)
5
12010-01-09 Chong Yidong <cyd@stupidchicken.com> 62010-01-09 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * progmodes/compile.el: Don't treat compile-command as safe if 8 * progmodes/compile.el: Don't treat compile-command as safe if
diff --git a/lisp/vc-bzr.el b/lisp/vc-bzr.el
index f140671be12..a16e0889b74 100644
--- a/lisp/vc-bzr.el
+++ b/lisp/vc-bzr.el
@@ -361,6 +361,11 @@ If any error occurred in running `bzr status', then return nil."
361 ;; look there for the version information. 361 ;; look there for the version information.
362 (when (re-search-forward "file://\\(.+\\)" nil t) 362 (when (re-search-forward "file://\\(.+\\)" nil t)
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))
365 (string-match-p "^/[[:alpha:]]:" l-c-parent-dir))
366 ;;; On Windows, file:// URLs often have three slashes,
367 ;;; so we must remove the remaining one (bug#5345)
368 (setq l-c-parent-dir (substring l-c-parent-dir 1)))
364 (setq branch-format-file 369 (setq branch-format-file
365 (expand-file-name vc-bzr-admin-branch-format-file 370 (expand-file-name vc-bzr-admin-branch-format-file
366 l-c-parent-dir)) 371 l-c-parent-dir))