<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Perplexed Labs &#187; keyword substitution</title>
	<atom:link href="http://blog.perplexedlabs.com/tag/keyword-substitution/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.perplexedlabs.com</link>
	<description>web development war stories from the frontlines to the backend</description>
	<lastBuildDate>Sat, 24 Jul 2010 16:27:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>SVN Keyword Substitution svn:keywords</title>
		<link>http://blog.perplexedlabs.com/2008/03/18/svn-keyword-substitution/</link>
		<comments>http://blog.perplexedlabs.com/2008/03/18/svn-keyword-substitution/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 02:53:56 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[keyword substitution]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svn:keywords]]></category>

		<guid isPermaLink="false">http://www.perplexedlabs.com/2008/03/18/svn-keyword-substitution/</guid>
		<description><![CDATA[Ever see those pretty comments at the top of a source code file under version control via subversion? It's really rather simple to setup. Assuming you're past the point where you have a repository with files already under version control, you simply add in wherever you want the substitution to occur the variable name surrounded [...]


Related posts:<ol><li><a href='http://blog.perplexedlabs.com/2008/04/09/svn-automatically-setting-properties/' rel='bookmark' title='Permanent Link: SVN Automatically Setting Properties'>SVN Automatically Setting Properties</a></li>
<li><a href='http://blog.perplexedlabs.com/2009/09/11/backing-up-subversion-repositories-using-svnadmin-hotcopy/' rel='bookmark' title='Permanent Link: Backing Up Subversion Repositories Using svnadmin hotcopy'>Backing Up Subversion Repositories Using svnadmin hotcopy</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ever see those pretty comments at the top of a source code file under version control via subversion?  It's really rather simple to setup.</p>
<p>Assuming you're past the point where you have a repository with files already under version control, you simply add in wherever you want the substitution to occur the variable name surrounded by $.</p>
<pre class="brush: php;">
/* SVN: $Id$ */
/**
 * Short Description
 *
 * Long Description
 *
 * @package			mypackage
 * @lastmodified	$Date$
 * @modifiedby		$LastChangedBy$
 * @version			$Revision$
 */
</pre>
<p>Then you run the svn propset command in your working directory:</p>
<blockquote><p>svn propset svn:keywords "Id Date LastChangedBy Revision" . -R</p></blockquote>
<p>Remember, you need to set properties to all new files you add, this is NOT done automatically!</p>


<p>Related posts:<ol><li><a href='http://blog.perplexedlabs.com/2008/04/09/svn-automatically-setting-properties/' rel='bookmark' title='Permanent Link: SVN Automatically Setting Properties'>SVN Automatically Setting Properties</a></li>
<li><a href='http://blog.perplexedlabs.com/2009/09/11/backing-up-subversion-repositories-using-svnadmin-hotcopy/' rel='bookmark' title='Permanent Link: Backing Up Subversion Repositories Using svnadmin hotcopy'>Backing Up Subversion Repositories Using svnadmin hotcopy</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.perplexedlabs.com/2008/03/18/svn-keyword-substitution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
