Can I have svn automatically propset a file after adding it?

Posted by René Nyffenegger on Stack Overflow See other posts from Stack Overflow or by René Nyffenegger
Published on 2010-04-21T07:05:44Z Indexed on 2010/04/21 7:13 UTC
Read the original article Hit count: 261

Filed under:

Is it possible to configure svn such that it automatically sets the svn:keywords property after svn-adding a file?

That is, when I add a file to svn, I usually do that with two steps:

svn add someNewFile.foo
svn propset svn:keywords "HeadURL Revision Author Date Id" someNewFile.foo

and I'd like to have the 2nd step automatically done for me by svn.

© Stack Overflow or respective owner

Related posts about svn