<br><br><div><span class="gmail_quote">On 5/26/07, <b class="gmail_sendername">Neal Norwitz</b> &lt;<a href="mailto:nnorwitz@gmail.com">nnorwitz@gmail.com</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;">
On 5/26/07, Brett Cannon &lt;<a href="mailto:brett@python.org">brett@python.org</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; On 5/25/07, Georg Brandl &lt;<a href="mailto:g.brandl@gmx.net">g.brandl@gmx.net</a>&gt; wrote:<br>&gt; &gt; Neal Norwitz schrieb:
<br>&gt; &gt; &gt; On 5/25/07, Brett Cannon &lt;<a href="mailto:brett@python.org">brett@python.org</a>&gt; wrote:<br>&gt; &gt; &gt;&gt; In my bcannon-objcap branch I am trying to check in a change that<br>&gt; involves a<br>
&gt; &gt; &gt;&gt; soft symlink from Lib/controlled_importlib.py to<br>&gt; &gt; &gt;&gt; ../importlib/controlled_importlib.py through ``ln -s<br>&gt; &gt; &gt;&gt; ../controlled_importlib.py controlled_importlib.py`` while in the Lib
<br>&gt; &gt; &gt;&gt; directory.&nbsp;&nbsp;I have done this before in this branch so as to allow for<br>&gt; easy<br>&gt; &gt; &gt;&gt; importing of code from the svn import of importlib that the branch<br>&gt; contains.<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; I don&#39;t know that we&#39;ve ever tested the commit hook with a link.<br>&gt; &gt; &gt; Maybe there is some other problem.<br>&gt; &gt;<br>&gt; &gt; The cause: For symlinks, SVN saves a file containing &quot;link /target&quot; and
<br>&gt; sets<br>&gt; &gt; the &quot;svn:special&quot; property. Since the special file doesn&#39;t end with a<br>&gt; newline,<br>&gt; &gt; reindent adds that, and boom.<br>&gt; &gt;<br>&gt; &gt; The solution: add<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if 
fs.node_prop(txn_root, path, &#39;svn:special&#39;) == &#39;*&#39;: continue<br>&gt; &gt;<br>&gt; &gt; in the commit hook&#39;s for loop.<br>&gt;<br>&gt;<br>&gt; Great!&nbsp;&nbsp;So can someone do this?&nbsp;&nbsp;I don&#39;t know where the svn hook code is
<br>&gt; stored, let alone whether I have access to commit a change.<br><br>I made the change Georg suggested, give it a try.</blockquote><div><br><br>Still failing.&nbsp; I checked the added file for svn:special and it&#39;s set with an &#39;*&#39; just like my other symlink.&nbsp; And I double-checked the file by running ``python Tools/scripts/reindent.py -v Lib/controlled_importlib.py``&nbsp; and it said nothing had changed. 
<br></div><br>-Brett</div>