pre-commit hooks and $Id$ banners?

Jamie Wilkinson jaq at spacepants.org
Mon Apr 24 05:38:23 BST 2006


This one time, at band camp, Martin Pool wrote:
>$TreeRevision$ may be significantly more useful than what svn can  
>do.  Many people who've tried svn keywords have probably been  
>disappointed they could not easily get the overall revision into  
>version.h.  (But perhaps version-info would be better again.)
>
>That would mean that after each commit or update all keyword-enabled  
>files would need to be scanned and possibly updated, not just those  
>touched by the operation.

I think this use case is better handled by the build tool, not bzr.

Calling 'bzr info' at release time to get the version.h correct before
rolling a tarball seems more appropriate than adding support for this
dubious feature to bzr.




More information about the bazaar mailing list