Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Minor VCS Info things
- X-seq: zsh-workers 25735
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Minor VCS Info things
- Date: Tue, 23 Sep 2008 12:15:21 -0700
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=d200807; d=spodhuis.org; h=Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=KRyI0Kt+EFA6mj+empDzk12pC60SsuIb4uE8eqlPGTlZBIGvW+KpLmoEQx+TyYGSGAr3Vg5YEMrAJZ1tNOGeJOVIYK9B2LyHpN6oM6am1DS0JW3S6FEwwg4rfJ45ij0xINbiXEXc/4cSZjudTcy7mXtIduAjOas7YOiUIdJm3X0=;
- In-reply-to: <20080923170245.4da323c0@news01>
- Mail-followup-to: Peter Stephenson <pws@xxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <15055.1222092662@xxxxxxx> <20080923170245.4da323c0@news01>
On 2008-09-23 at 17:02 +0100, Peter Stephenson wrote:
> I've done this. It seems to work OK.
As a side note: there's a scenario I have at $work where use-server
won't work but the simple case will: multiple P4 servers and the file
named by $P4CONFIG, in the root directory of the client, setting P4PORT
to the correct server.
I don't know of a way to deal with this for the use-server case, since
environment variables can't be auto-set by directory (although I could
use precmd() to mangle that in, just for this, I suppose).
So ...
> Index: Doc/Zsh/contrib.yo
[...]
> +until it is removed by hand. If you do not set this style, the tt(p4)
> +backend is only usable if you have set the environment variable
> +tt(P4CONFIG) to a file name and have corresponding files in the root
> +directories of each Perforce client. See comments in the function
> +tt(VCS_INFO_detect_p4) for more detail.
Suggest adding before the "See comments[...]" sentence:
Using the tt(P4CONFIG) method may function better in environments with
multiple P4 servers where tt(P4PORT) is set in the file named by
tt(P4CONFIG).
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author