> Where the property "MyFunctionalProperty" was expanded
> regarding some functionnal code that I can provide to subversion.
>
> So my initial question, that was not clear I must admit,
> becomes: How can I handle this?
> * using keywords? then how can I provide the functionnal
> behaviour to expand the property? is keyword managment open
> to contribution?
Keywords are limited, please see SVN documentation here:
http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.advanced.props.spec
ial.keywords
You will find that the 'Author' keyword is available but you customized
'MyFunctionalProperty' not.
> * using a post commit-hook that will fire a process that
> will automatically update the file and then commit it again?
You'll probably have to use a pre-commit hook instead of a post-commit
one. Just before committing, your script will change the file header and
on success, the file (or list of files) will be commited.
> * using svn properties?
> + set the property before commit and then use in some way
> like keywords in my file?
> + set the property before commit and use some piece of
> software to modify the file after update? (this solution
> sucks because the file we be marked as modified locally)
>
> I hope my needs are more clear now.
>
The best solution is the pre-commit hook call a home-made script. I've
been working with Clearcase for 5 years (so I know triggers) and the
_same_thing can be done with SVN hooks.
> Thanks for your proposals, time & cooperation.
>
> Matthieu BROUILLARD
>
HTH
Pierre
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-09 15:47:57 CEST