Re: treating some directories atomically, and ignoring socket files
"Benjamin C. Pierce" <[email protected]> Mon, 13 Jul 2015 17:35:01 -0400
| Newsgroups | gmane.network.unison.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the patches, Julian. I’ve just (belatedly) committed them to the unison trunk. I made one small change: instead of Pred.test Globals.atomic (Name.toString n) I used Pred.test Globals.atomic (Path.toString path) for consistency with other predicates. Best, - Benjamin > On Jan 14, 2015, at 8:31 AM, Julian Squires <[email protected]> wrote: > > Thanks for the feedback, everyone. I like the idea of the "up" action > in the text UI, but implementing it right now was outside the scope of > what I was working on. > > I've attached patches that implement an atomic option, so you can > specify, e.g., "-atomic Name\ .git -atomic Name\ .svn", and these > directories will be treated indivisibly. Presumably one can use the > pattern matching facilities of this kind of predicate to match > packages on OS X but I haven't investigated it. > > I have no doubt there are improvements that can be made to how I have > implemented this, so I welcome your comments. > > -- > Julian Squires > <0001-Add-atomic-option-as-a-global-predicate.patch><0002-Add-acceptance-test-for-git-directory-atomicity.patch><0003-Add-handling-of-atomic-directories.patch>_______________________________________________ > Unison-hackers mailing list > [email protected] > http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers _______________________________________________ Unison-hackers mailing list [email protected] http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers