all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs-diffstrunk r117208: * lisp/files.el (locate-dominating-file): Expand file argument.
Date: Sun, 01 Jun 2014 13:23:58 -0400	[thread overview]
Message-ID: <hmppispmq9.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87ha45vzkm.fsf@gmx.de> (Michael Albinus's message of "Sun, 01 Jun 2014 09:50:01 +0200")

Michael Albinus wrote:

>> BTW, I think that test should set the BZR_HOME environment variable,
>> like test/automated/vc-bzr.el does. This will be good not just for
>> hydra, but to stop tests writing to ~/.bzr.log in general.
>
> Yes. However, it's not guaranteed that tramp-test29-vc-registered
> chooses bzr. It could also take git or hg, whatever it finds on the test
> machine.

It will be harmless to set BZR_HOME if something other than bzr is used.
But you should be able to make the setting conditional on bzr being
chosen, if you like. (I could not figure out if I needed to modify
process-environment or tramp-remote-process-environment, and if the
latter needed to be changed early on.)

> A bzr only change will be good for hydra, but maybe we need some more
> general consideration here.

As I said, I think it will be good for everyone to set BZR_HOME to a
temp value.

> OTOH, it's not guaranteed that all people have set BZR_HOME.

I don't understand.

> Couldn't this setting hide problems, which would be detected otherwise
> in the tests?

It only hides the problem of a non-functioning bzr due to a missing HOME
directory, which is not Emacs's problem IMO.



  reply	other threads:[~2014-06-01 17:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1WqZ19-0003OV-AT@vcs.savannah.gnu.org>
2014-05-31 19:27 ` Emacs-diffstrunk r117208: * lisp/files.el (locate-dominating-file): Expand file argument Glenn Morris
2014-06-01  7:50   ` Michael Albinus
2014-06-01 17:23     ` Glenn Morris [this message]
2014-06-01 17:59       ` Michael Albinus
2014-06-01 22:22         ` Glenn Morris
2014-06-02 18:42           ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hmppispmq9.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.