<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t9136, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-02-23T04:31:08Z</updated>
<entry>
<title>git-svn: fix delete+add branch tracking with empty files</title>
<updated>2009-02-23T04:31:08Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2009-02-23T04:25:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=83c2fcff214fe89649fcd88e095d9961a36b53dd'/>
<id>urn:sha1:83c2fcff214fe89649fcd88e095d9961a36b53dd</id>
<content type='text'>
Original bug report and test case by Björn Steinbrink.

Björn Steinbrink &lt;B.Steinbrink@gmx.de&gt; wrote:
&gt; Hi Eric,
&gt;
&gt; seems that the empty symlink stuff gets confused about which revision to
&gt; use when looking for the parent's file.
&gt;
&gt; r3 = f1a6fcf6b0a1c4a373d0b2b65a3d70700084f361 (tags/1.0.1)
&gt; Found possible branch point: file:///home/doener/h/svn/tags/1.0 =&gt; file:///home/doener/h/svn/branches/1.0, 4
&gt; Found branch parent: (1.0) 63ae640ba01014ecbb3df590999ed1fa5914545b
&gt; Following parent with do_switch
&gt; Successfully followed parent
&gt; r5 = 26fcfef5bcced97ab74faf1af7341a2ae0d272aa (1.0)
&gt; Found possible branch point: file:///home/doener/h/svn/branches/1.0 =&gt; file:///home/doener/h/svn/tags/1.0.1, 5
&gt; Found branch parent: (tags/1.0.1) 26fcfef5bcced97ab74faf1af7341a2ae0d272aa
&gt; Following parent with do_switch
&gt; Scanning for empty symlinks, this may take a while if you have many empty files
&gt; You may disable this with `git config svn.brokenSymlinkWorkaround false'.
&gt; This may be done in a different terminal without restarting git svn
&gt; Filesystem has no item: File not found: revision 3, path '/branches/1.0/file' at /usr/local/libexec/git-core/git-svn line 3318
&gt;
&gt; Note how it tries to look at revision 3 instead of revision 5 (which it
&gt; correctly detected as the parent). The import succeeds when
&gt; svn.brokenSymlinkWorkaround is set to false. Testcase below.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
</feed>
