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

Re: autoprop for files whic has no extension

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-11-21 03:40:18 CET

On Nov 20, 2006, at 04:40, Aziz Sasmaz wrote:

> I use autoprops for my files. But it works only for files that
> have extension. It is not working for files which has no
> extension. How can i deal with this.
>
> I am using perl. And some of my cgi files do not have extension..
>
>
>
> Below woking fine but i couldnt define autoprop for files which
> has no ext..
>
> *.pl = svn:eol-style=LF; svn:keywords=Id Rev Date;svn:mime-
> type=text/x-perl
>
> *.pm = svn:eol-style=LF; svn:keywords=Id; svn:mime-
> type=text/x-perl

You could define a rule for "*" but that would be a bad idea because
you don't want eol translation on images and other binary files, for
example, but Subversion would do so if you define such a rule, which
would corrupt them.

You'll have to manually set the properties you want on the files that
can't be matched uniquely by a rule. If the files don't have an
extension, I don't know how you'd be able to detect them.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 21 03:41:04 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.