<?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>The Rambling Chronicles: Notes &#187; bazaar</title>
	<atom:link href="http://notes.theramblingchronicles.co.uk/tags/bazaar/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.theramblingchronicles.co.uk</link>
	<description>Making sense is optional</description>
	<lastBuildDate>Thu, 26 Aug 2010 10:09:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>trac-bzr setup</title>
		<link>http://notes.theramblingchronicles.co.uk/2009/12/15/trac-bzr-setup/</link>
		<comments>http://notes.theramblingchronicles.co.uk/2009/12/15/trac-bzr-setup/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 15:21:50 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[stuff]]></category>
		<category><![CDATA[bazaar]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[shared host]]></category>

		<guid isPermaLink="false">http://theramblingchronicles.co.uk/2009/12/15/trac-bzr-setup/</guid>
		<description><![CDATA[Not so easy on a shared host: First, get bazaar. Because we have no gcc ability, we need to set up a config file to change some values in. First create ~/.pydistutils.cfg. You need to add the lines: [build_ext] allow-python-fallback=1 This now allows us to build bazaar: easy_install --prefix=~ bzr With Bazaar installed fetch the [...]]]></description>
			<content:encoded><![CDATA[<p>Not so easy on a shared host:</p>

<p>First, get bazaar. Because we have no gcc ability, we need to set up a config file to change some values in. First create <code>~/.pydistutils.cfg</code>. You need to add the lines:</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[build_ext]
allow-python-fallback=1</pre></div></div>



<p>This now allows us to build bazaar:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">easy_install <span style="color: #660033;">--prefix</span>=~ bzr</pre></div></div>



<p>With Bazaar installed fetch the latest version of trac-bzr:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">bzr branch <span style="color: #c20cb9; font-weight: bold;">lp</span>:trac-bzr</pre></div></div>



<p>You then need to set it up. Navigate to the trac-bzr folder and run:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python setup.py <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">--prefix</span>=~</pre></div></div>



<p>Once installed, you need to add/change some lines in your <code>trac.ini</code> file.</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Add
tracbzr.* = enabled</pre></div></div>



<p>To the components section and</p>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Change
repository_dir = /your/repository/location
repository_type = bzr</pre></div></div>



<p>Once that is complete, you need to get the stuff into your repository. First run <code>bzr repo-init</code> and then change to your working repository and run <code>bzr push sftp:/location/of/repo</code>.</p>]]></content:encoded>
			<wfw:commentRss>http://notes.theramblingchronicles.co.uk/2009/12/15/trac-bzr-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore deleted file in Bazaar VCS</title>
		<link>http://notes.theramblingchronicles.co.uk/2009/12/01/restore-deleted-file-in-bazaar-vcs/</link>
		<comments>http://notes.theramblingchronicles.co.uk/2009/12/01/restore-deleted-file-in-bazaar-vcs/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 11:36:42 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[stuff]]></category>
		<category><![CDATA[bazaar]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[deleted file]]></category>
		<category><![CDATA[restore file]]></category>

		<guid isPermaLink="false">http://theramblingchronicles.co.uk/2009/12/01/restore-deleted-file-in-bazaar-vcs/</guid>
		<description><![CDATA[Simple: bzr cat -r 117 path_to_file &#62; path_to_output_location]]></description>
			<content:encoded><![CDATA[<p>Simple:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">bzr <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #660033;">-r</span> <span style="color: #000000;">117</span> path_to_file <span style="color: #000000; font-weight: bold;">&gt;</span> path_to_output_location</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://notes.theramblingchronicles.co.uk/2009/12/01/restore-deleted-file-in-bazaar-vcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
