[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] don't do autoprops on symbolic links

From: Gavin Beau Baumanis <beau_at_palcare.com.au>
Date: Wed, 29 Sep 2010 10:56:17 +1000

As a result of no comments for this patch , I have logged it into the issue tracker so that it doesn't get lost.

http://subversion.tigris.org/issue-tracker.html
Issue Number : #3722

Gavin "Beau" Baumanis

On 04/09/2010, at 10:25 PM, Wei-Yin Chen wrote:

> Dear Gavin,
>
> Thanks. The attachment was in my sent box, but it's absent in the mailing archive. Don't know why.
>
> Per Branko's suggestion, I'm using join this time. In case the attachment gets missing again, it is also embedded in the mail body.
>
> Regards,
> Wei-Yin
>
> --- svn_apply_autoprops.py.old 2010-09-04 20:16:28.000000000 +0800
> +++ svn_apply_autoprops.py.nolink 2010-09-04 20:17:20.000000000 +0800
> @@ -122,10 +122,12 @@
> for autoprops_line in autoprop_lines:
> fnmatch_str = autoprops_line[0]
> prop_list = autoprops_line[1]
>
> matching_filenames = fnmatch.filter(filenames, fnmatch_str)
> + matching_filenames = [f for f in matching_filenames \
> + if not os.path.islink(os.path.join(dirname, f))]
> if not matching_filenames:
> continue
>
> for prop in prop_list:
> command = ['svn', 'propset', prop[0], prop[1]]
>
>
> On Sat, Sep 4, 2010 at 4:08 PM, Gavin Beau Baumanis <gavin_at_thespidernet.com> wrote:
> Hi Wei-Yin,
>
> Just thought I would mention that you did not attach your updated patch.
>
>
> Gavin "Beau" Baumanis
> E: gavin_at_thespidernet.com
>
Received on 2010-09-29 02:57:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.