<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Topic: Using SVN Revision Tags with PN</title>
		<link>http://pnotepad.org/forums/topic/610</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 06:43:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/topic/610" rel="self" type="application/rss+xml" />

		<item>
                        <title>Using SVN Revision Tags with PN (jumpfroggy)</title>
			<link>http://pnotepad.org/forums/topic/610#post-2189</link>
			<pubDate>Tue, 30 Jun 2009 06:47:28 +0000</pubDate>
			<dc:creator>jumpfroggy</dc:creator>
			<guid isPermaLink="false">2189@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Good idea, but trickier than you might think.  Use the 'subwcrev' command:&#60;br /&#62;
&#60;a href=&#34;http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev.html&#34; rel=&#34;nofollow&#34;&#62;http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-subwcrev.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I create a file &#38;quot;version-template.txt&#38;quot; in my project.  Then I add a batch file (you could add in your makefile) to run:&#60;/p&#62;
&#60;p&#62;    subwcrev version-template.txt version.txt&#60;/p&#62;
&#60;p&#62;Now you have version.txt with the program's revision, which you can load when you want to output the revision in your program.  I also svn:ignore version.txt, so it doesn't get committed to SVN.&#60;/p&#62;
&#60;p&#62;There's also a built-in SVN command that handles property replacement, like $REV$, but that only handles per-file revisions so wont work for this purpose.  Too bad, since it's seamless (happens after checkout).
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Using SVN Revision Tags with PN (PNUser)</title>
			<link>http://pnotepad.org/forums/topic/610#post-2188</link>
			<pubDate>Tue, 30 Jun 2009 00:01:40 +0000</pubDate>
			<dc:creator>PNUser</dc:creator>
			<guid isPermaLink="false">2188@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'm using PN with Tortoise SVN for a C language project. I'd like to somehow embed the revision tag from subversion into a datacode in my source so the program outputs the revision number of the subversion version used.&#60;/p&#62;
&#60;p&#62;Any tips or references I could use to figure out how to do that? Maybe a snippet of code to embed in the Makefile?&#60;/p&#62;
&#60;p&#62;Or perhaps something else?&#60;/p&#62;
&#60;p&#62;THanks&#60;/p&#62;
&#60;p&#62;PNUser Dave
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

