<br><br><div><span class="gmail_quote">On 5/26/07, <b class="gmail_sendername">Neal Norwitz</b> <<a href="mailto:nnorwitz@gmail.com">nnorwitz@gmail.com</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;">
On 5/26/07, Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>><br>><br>> On 5/25/07, Georg Brandl <<a href="mailto:g.brandl@gmx.net">g.brandl@gmx.net</a>> wrote:<br>> > 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<br>> 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<br>> easy<br>> > >> importing of code from the svn import of importlib that the branch<br>> 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
<br>> sets<br>> > the "svn:special" property. Since the special file doesn't end with a<br>> 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.<br>><br>><br>> Great! So can someone do this? I don't know where the svn hook code is
<br>> 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. I checked the added file for svn:special and it's set with an '*' just like my other symlink. And I double-checked the file by running ``python Tools/scripts/reindent.py -v Lib/controlled_importlib.py`` and it said nothing had changed.
<br></div><br>-Brett</div>