From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16370 invoked by alias); 9 Nov 2011 16:16:33 -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: 29905 Received: (qmail 25034 invoked from network); 9 Nov 2011 16:16:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= Gq+63HhSEtfgWe4SC+q6nDJ+xFU=; b=hwI413Fs4ijyLzH542NaIcrxn/XvW+bI fa/8jrTInzRg7TcQQ3a5RHyzisonfMb29WgqUEkM/vuIaMD2UV5L+vsvrPHOzTXf 0MMtIGT83MJF9yYAfGkDqJMJg9xggimMwFpkZQwzCttjpkvEsINeIXsL83OpEElR MPhoTCOwMIk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=Gq+63HhSEtfgWe4SC+q6nDJ+xFU=; b=sdx+JYpOG33LLlCaGIWV5SjpSBoj WOlv1XXKSaTpwdr1Yhbf8pGjhKDn76Ir57xvQMqcVtVW4AnFV+nGbB2u/Ahuwa4M faYcpdutrnW+WWY6+HPgcD/5j7RezOCVAqPbVOhKUEHoPmTvWqNwBzAIsjceW4AY d9DE4LZZmgjNxZM= X-Sasl-enc: xrah9GyL7gKQkxMOX+KLnjSIB/sSyI9K3eR6Jqjq2oWvAizmMh6KhVrR9F8S4g 1320854885 Date: Wed, 9 Nov 2011 18:07:54 +0200 From: Daniel Shahaf To: Bart Schaefer Cc: zsh-workers@zsh.org Subject: Re: PATCH: Update VCS_INFO_detect_svn for Subversion 1.7 Message-ID: <20111109160754.GA12252@daniel3.local> References: <86sjlxoows.knu@iDaemons.org> <87boslzcic.fsf@ft.bewatermyfriend.org> <877h39z9cb.fsf@ft.bewatermyfriend.org> <111109075700.ZM4753@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <111109075700.ZM4753@torch.brasslantern.com> User-Agent: Mutt/1.5.20 (2009-06-14) Bart Schaefer wrote on Wed, Nov 09, 2011 at 07:57:00 -0800: > On Nov 9, 2:58pm, Frank Terbeck wrote: > } Subject: Re: PATCH: Update VCS_INFO_detect_svn for Subversion 1.7 > } > } How does it work? Well, the "(../)#.svn(/N)" pattern matches all .svn > } sub-directories from the current directory up to the root directory `/'. > > I know it'd be a strange circumstance, but what happens if there is a > /.svn directory? (Or /home/.svn, etc., somewhere above the user's > personal tree.) > > Maybe qualify the glob with a U or G to check for user or at least > group ownership of the .svn directory? Or would that break in some > other way? What if /etc/.svn exists, cwd is /etc/foo, and the user is editing config files via sudo $EDITOR bar.conf ?