You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Aziz Sasmaz <az...@teknolist.com> on 2006/11/20 10:40:55 UTC

autoprop for files whic has no extension

 

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

 

 

Thanks...

 


Re: autoprop for files whic has no extension

Posted by Ryan Schmidt <su...@ryandesign.com>.
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