Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Update VCS_INFO_detect_svn for Subversion 1.7



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