[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r117085: * test/automated/vc-bzr.el: Tweak previo
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] emacs-24 r117085: * test/automated/vc-bzr.el: Tweak previous to use BZR_HOME rather than HOME |
Date: |
Thu, 08 May 2014 07:23:50 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117085
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Thu 2014-05-08 00:23:40 -0700
message:
* test/automated/vc-bzr.el: Tweak previous to use BZR_HOME rather than HOME
modified:
test/automated/vc-bzr.el vcbzr.el-20111020033852-tb09uuuxskzxqlzo-1
=== modified file 'test/automated/vc-bzr.el'
--- a/test/automated/vc-bzr.el 2014-05-08 07:14:15 +0000
+++ b/test/automated/vc-bzr.el 2014-05-08 07:23:40 +0000
@@ -33,17 +33,18 @@
(skip-unless (executable-find vc-bzr-program))
;; Bzr wants to access HOME, e.g. to write ~/.bzr.log.
;; This is a problem on hydra, where HOME is non-existent.
- ;; You can disable logging with BZR_LOG=/dev/null, but then
- ;; some commands (eg `bzr status') want to access ~/.bazaar,
- ;; and will abort if they cannot. I could not figure out how to
- ;; stop bzr doing that, so just set HOME to a tempdir for the duration.
+ ;; You can disable logging with BZR_LOG=/dev/null, but then some
+ ;; commands (eg `bzr status') want to access ~/.bazaar, and will
+ ;; abort if they cannot. I could not figure out how to stop bzr
+ ;; doing that, so just give it a temporary homedir for the duration.
+ ;; http://bugs.launchpad.net/bzr/+bug/137407 ?
(let* ((homedir (make-temp-file "vc-bzr-test" t))
(bzrdir (expand-file-name "bzr" homedir))
(ignored-dir (progn
(make-directory bzrdir)
(expand-file-name "ignored-dir" bzrdir)))
(default-directory (file-name-as-directory bzrdir))
- (process-environment (cons (format "HOME=%s" homedir)
+ (process-environment (cons (format "BZR_HOME=%s" homedir)
process-environment)))
(unwind-protect
(progn
@@ -79,7 +80,7 @@
(expand-file-name "subdir" bzrdir)))
(file (expand-file-name "file" bzrdir))
(default-directory (file-name-as-directory bzrdir))
- (process-environment (cons (format "HOME=%s" homedir)
+ (process-environment (cons (format "BZR_HOME=%s" homedir)
process-environment)))
(unwind-protect
(progn
@@ -120,7 +121,7 @@
(expand-file-name "foo.el" bzrdir)))
(default-directory (file-name-as-directory bzrdir))
(generated-autoload-file (expand-file-name "loaddefs.el" bzrdir))
- (process-environment (cons (format "HOME=%s" homedir)
+ (process-environment (cons (format "BZR_HOME=%s" homedir)
process-environment)))
(unwind-protect
(progn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r117085: * test/automated/vc-bzr.el: Tweak previous to use BZR_HOME rather than HOME,
Glenn Morris <=