Hey Héctor, > according to the SVN book (compiled from Revision 1337) there is a > easier way to do this: > > page 132: > > Automatic Property Setting > > [...] > > Subversion also provides the auto-props feature, which allows you to > create mappings of filename patterns to property names and values. These > mappings are made in your runtime configuration area. They again affect > adds and imports, and not only can override any default MIME type > decision made by Subversion during those operations, they can also set > additional Subversion or custom properties, too. For example, you might > create a mapping that says that any time you add JPEG files—ones that > match the pattern *.jpg—Subversion should automatically set the > svn:mime-type property on those files to image/jpeg. Or perhaps any > files that match *.cpp should have svn:eol-style set to native, and > svn:keywords set to Id. Auto-prop support is perhaps the handiest > property related tool in the Subversion toolbox. See the section called > “Config” for more about configuring that support. > > [end of quotation] > > you can see the page 120 for further info.
this only works for newly added files (svn add or svn import) and has no effect when doing a checkout. BTW, I'm also a +1 for enabling the hook. -- Dorneles Treméa X3ng Web Technology http://nosleepforyou.blogspot.com _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
