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