On 2007-09-20 10:35-0700 Alan W. Irwin wrote: > As a general note, PLplot core developers with svn write access who commit > _new_ files to our subversion repository must set the svn:keywords property > for those files where keyword expansion is desired. Use the following > command to implement this > > svn propset svn:keywords "Author Date Id Revision" filename > > Also, if a developer notices that a keyword is not being expanded properly > on an _old_ file they should do the above svn command to correct the problem. > (I have just done that on some of the ada examples where I originally > forgot to set the svn:keywords property.) > > Remembering to do the appropriate propset for _new_ filename patterns can be > problematic (as I have just demonstrated for Ada files :-) ) so from now on > I have automated this for myself by adding the following lines to > $HOME/.subversion/config file. > > *.c = > svn:keywords=Author;svn:keywords=Date;svn:keywords=Id;svn:keywords=Revision [...]
This last turned out not to work as expected (everything but the last was ignored so the property svn:keywords=Revision was being set). Some recent experimentation shows the following correctly sets the svn:keywords property as a blank-delimited list: *.c = svn:keywords=Author Date Id Revision *.h = svn:keywords=Author Date Id Revision *.cc = svn:keywords=Author Date Id Revision *.cpp = svn:keywords=Author Date Id Revision *.f = svn:keywords=Author Date Id Revision *.fm4 = svn:keywords=Author Date Id Revision *.f90 = svn:keywords=Author Date Id Revision *.java = svn:keywords=Author Date Id Revision *.py = svn:keywords=Author Date Id Revision *.adb = svn:keywords=Author Date Id Revision *.ads = svn:keywords=Author Date Id Revision *.m = svn:keywords=Author Date Id Revision *.tcl = svn:keywords=Author Date Id Revision *.sh = svn:keywords=Author Date Id Revision Note, I now include the .ads suffix as Jerry suggested. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel