Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Update VCS_INFO_detect_svn for Subversion 1.7
- X-seq: zsh-workers 29905
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: Update VCS_INFO_detect_svn for Subversion 1.7
- Date: Wed, 9 Nov 2011 18:07:54 +0200
- Cc: zsh-workers@xxxxxxx
- 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=
- In-reply-to: <111109075700.ZM4753@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <86sjlxoows.knu@iDaemons.org> <87boslzcic.fsf@ft.bewatermyfriend.org> <877h39z9cb.fsf@ft.bewatermyfriend.org> <111109075700.ZM4753@torch.brasslantern.com>
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 ?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author