<div class="gmail_quote">On Tue, Jun 5, 2012 at 11:55 AM, Cedric Staub <span dir="ltr"><<a href="mailto:cs.staub@cssx.ch" target="_blank">cs.staub@cssx.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div class="im">On Tue, Jun 5, 2012 at 10:59 AM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com" target="_blank">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Sleeping on it, I still think it makes sense, but it came to my
    mind, that some custom code might not call "close()" as one should,
    and hence the atomic move won't happen.<br>
    <br>
    Hence I think we need to make this enhancement configurable inside
    the repository configuration, in order to give people<br>
    a chance to improve their code.<br></div></blockquote><div><br></div></div><div>Sure, should be no problem to implement. </div></div>
</blockquote></div><br><div>I have an initial implementation of this, which is now available from the Yarep repository on Github (<a href="https://github.com/wyona/yarep/tree/copy-on-write">https://github.com/wyona/yarep/tree/copy-on-write</a>). You need to add the tag <copy-on-write enabled="true"/> in order to enable it in your VirtualFileSystem repository (other repositories are not supported). It's still experimental, but I'd be happy if you could take a look at the code.</div>

<div><br></div><div>Thanks</div><div>Cedric</div>