/ Published in: Other
                    
                                        
There may be an easier way to do this, but if there is I can't find it. This sets the svn property $Id$ of every javaScript file in the app/lib directory.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
# this affects already existing files
find app/lib/ -type f -name '*.js' -exec svn propset svn:keywords "Id" {} \; -print
# OR, for files added later, you can edit ~/.subversion/config
[miscellany]
enable-auto-props = yes
[auto-props]
*.js = svn:keywords=Id
URL: http://svnbook.red-bean.com/en/1.1/ch07s02.html
Comments
 Subscribe to comments
                    Subscribe to comments
                
                