<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thanks for the patches, Julian.  I’ve just (belatedly) committed them to the unison trunk.  </div><div class=""><br class=""></div><div class="">I made one small change: instead of </div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">Pred.test Globals.atomic (Name.toString n)</div><div class=""><br class=""></div></blockquote>I used<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>Pred.test Globals.atomic (Path.toString path) <br class=""><br class="">for consistency with other predicates.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">   - Benjamin</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 14, 2015, at 8:31 AM, Julian Squires <<a href="mailto:julian@cipht.net" class="">julian@cipht.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Thanks for the feedback, everyone.  I like the idea of the "up" action<br class="">in the text UI, but implementing it right now was outside the scope of<br class="">what I was working on.<br class=""><br class="">I've attached patches that implement an atomic option, so you can<br class="">specify, e.g., "-atomic Name\ .git -atomic Name\ .svn", and these<br class="">directories will be treated indivisibly.  Presumably one can use the<br class="">pattern matching facilities of this kind of predicate to match<br class="">packages on OS X but I haven't investigated it.<br class=""><br class="">I have no doubt there are improvements that can be made to how I have<br class="">implemented this, so I welcome your comments.<br class=""><br class="">-- <br class="">Julian Squires<br class=""><span id="cid:961CA5A3-1562-4C9B-95A9-257F66896156@home"><0001-Add-atomic-option-as-a-global-predicate.patch></span><span id="cid:6E7053F1-9787-4FBD-8587-0DBAE44F1D1B@home"><0002-Add-acceptance-test-for-git-directory-atomicity.patch></span><span id="cid:F2542358-7371-429C-B51C-E891D86FED11@home"><0003-Add-handling-of-atomic-directories.patch></span>_______________________________________________<br class="">Unison-hackers mailing list<br class=""><a href="mailto:Unison-hackers@lists.seas.upenn.edu" class="">Unison-hackers@lists.seas.upenn.edu</a><br class="">http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers<br class=""></div></blockquote></div><br class=""></div></body></html>