From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17833 invoked by alias); 24 May 2010 16:53:40 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27968 Received: (qmail 14421 invoked from network); 24 May 2010 16:53:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at klanderman.net does not designate permitted sender hosts) From: Greg Klanderman To: zsh-workers@zsh.org Subject: Re: PATCH: =?us-ascii?Q?=3D=3Futf-8=3Fb=3FdmNzX2luZm8=3D=3F=3D?= Mercurial backend branch name display Reply-To: gak@klanderman.net Date: Mon, 24 May 2010 12:45:08 -0400 In-Reply-To: (Seth House's message of "Mon, 24 May 2010 15:48:47 +0000 (UTC)") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.17 (linux) References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> On May 24, 2010 Seth House wrote: > This patch fixes a VCS_Info bug (introduced by me) that broke the branch display > by always displaying as "default". > +if [[ -n ${r_branch} ]] || r_branch="default" Looks like you have a spurious 'if' there.. Greg