Perl programmer for hire: download my resume (PDF).
John Bokma MexIT
freelance Perl programmer

Comments: Subversion: Using the svn:keywords property

3 comments

After having read a bit more about the various subversion properties I decided to use the svn:keywords property to solve my problem: inserting automatically a timestamp in program code I publish on my website. Until recently, the Perl program that generates (almost) all pages on this site read the timestamp from the source code files it includes. A feature I broke by dumping the Subversion repository on my old development machine, loading it back on my new one - a Dell Vostro 200 ST - and checking out the files again. The good news was that making my sites from 70+ XML files now just took about 35 seconds instead of over 300 seconds. The bad news was that the timestamps got lost. Not a problem for most files, except for the ones I included in web pages with the timestamp added to reflect the time the program code was last updated.

Read the rest of Subversion: Using the svn:keywords property.

Comments

A feature I broke by dumping the Subversion repository on my old development machine, loading it back on my new one - a Dell Vostro 200 ST - and checking out the files again.

Posted by deepak at 09:32 GMT on 30 December 2010

nice material it helps a lot for me

Posted by Jagadeesh Y at 11:17 GMT on 2 February 2011

When developing between Windows and Linux/OSX a good SVN property to set on text-based files is "svn:eol-style" to "native" so that end of lines will automatically gain/strip the CR with the LF.

Posted by Ben Zemm at 01:24 GMT on 15 December 2011

Post a comment

Note that your comment doesn't show up immediately. I review each comment before I add it to this site.

Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.

Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].