<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>DbTracer &#187; Subversion</title>
	<atom:link href="http://blog.dbtracer.org/tag/subversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dbtracer.org</link>
	<description>Database Comparison and Deployment</description>
	<lastBuildDate>Wed, 28 Dec 2011 14:56:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Porting a Subversion to a Git Repository with an Error &#8220;Permission denied: Can&#8217;t open &#8216;/tmp/report.tmp&#8217;&#8221;</title>
		<link>http://blog.dbtracer.org/2010/01/20/porting-subversion-git-with-error/</link>
		<comments>http://blog.dbtracer.org/2010/01/20/porting-subversion-git-with-error/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 17:02:27 +0000</pubDate>
		<dc:creator>Petr Kozelek</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[solutions]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://petrkozelek.e-blog.cz/?p=102</guid>
		<description><![CDATA[I was dealing with a problem of converting existing Subversion repository to a new git repository on my local Windows XP station.I carefully followed steps described here: C:\Program Files\Git\bin&#62;git svn init -s file:///D:/path/to/svn/repository Initialized empty Git repository in C:/Program Files/Git/bin/.git/ But Ooops! Error occurred when I tried to fetch all the history to Git repository: [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I was dealing with a problem of converting existing Subversion repository to a new git repository on my local Windows XP station.<span id="more-102"></span>I carefully followed steps described <a href="http://blog.romansklenar.cz/porting-a-subversion-repository-into-git/">here</a>:</p>
<pre>C:\Program Files\Git\bin&gt;git svn init -s file:///D:/path/to/svn/repository
Initialized empty Git repository in C:/Program Files/Git/bin/.git/</pre>
<p>But Ooops! Error occurred when I tried to fetch all the history to Git repository:</p>
<pre>C:\Program Files\Git\bin&gt;git svn fetch
 A       notes.txt
 A       pages.txt
 A       settings.config
r7 = f3dba0984f11e2f358923c23d89440789eb4591b (refs/remotes/references)
<strong>Permission denied: Can't open '/tmp/report.tmp': Permission denied at C:\Program Files\Git/libexec/git-core/git-svn line 2723</strong></pre>
<p>It was an misguiding error since I had neither a &#8220;tmp&#8221; directory in the original <kbd>svn</kbd> repository nor &#8220;report.tmp&#8221; directory<strong><strong>.</strong></strong> For my surprise the problem was caused by different formats used by in original Subversion repository and by Subversion module included in my Git instance that probably uses older Subversion format. I use Git 1.6.5.1.1367.gcd48 that probably has Subversion module supporting format 4 but my Subversion repository was in format 5.</p>
<h2>Solution</h2>
<p>Luckily the solution for such WTF <a href="http://code.google.com/p/msysgit/issues/detail?id=298#c5">exists</a>. If I access Subversion repository via SVN server instead of directly via file path problem will not occur. Thus, at first it is necessary to run SVN server:</p>
<pre>svnserve.exe -d -r D:/parent/path/to/repository/</pre>
<p>And then you can access Subversion repository via its server:</p>
<pre>git.exe svn init -s "<strong>svn://localhost</strong>/relative/path/to/subversion/repository"</pre>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.dbtracer.org/2010/01/20/porting-subversion-git-with-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

