<br><br><div><span class="gmail_quote">On 5/25/07, <b class="gmail_sendername">Georg Brandl</b> &lt;<a href="mailto:g.brandl@gmx.net">g.brandl@gmx.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Neal Norwitz schrieb:<br>&gt; On 5/25/07, Brett Cannon &lt;<a href="mailto:brett@python.org">brett@python.org</a>&gt; wrote:<br>&gt;&gt; In my bcannon-objcap branch I am trying to check in a change that involves a<br>&gt;&gt; soft symlink from Lib/controlled_importlib.py to
<br>&gt;&gt; ../importlib/controlled_importlib.py through ``ln -s<br>&gt;&gt; ../controlled_importlib.py controlled_importlib.py`` while in the Lib<br>&gt;&gt; directory.&nbsp;&nbsp;I have done this before in this branch so as to allow for easy
<br>&gt;&gt; importing of code from the svn import of importlib that the branch contains.<br>&gt;<br>&gt; I don&#39;t know that we&#39;ve ever tested the commit hook with a link.<br>&gt; Maybe there is some other problem.
<br><br>The cause: For symlinks, SVN saves a file containing &quot;link /target&quot; and sets<br>the &quot;svn:special&quot; property. Since the special file doesn&#39;t end with a newline,<br>reindent adds that, and boom.
<br><br>The solution: add<br>&nbsp;&nbsp;&nbsp;&nbsp; if fs.node_prop(txn_root, path, &#39;svn:special&#39;) == &#39;*&#39;: continue<br><br>in the commit hook&#39;s for loop.</blockquote><div><br><br>Great!&nbsp; So can someone do this?&nbsp; I don&#39;t know where the svn hook code is stored, let alone whether I have access to commit a change.
<br></div><br></div>-Brett