On Jul 25, 2016 16:12, "Bryan Davis" bd808@wikimedia.org wrote:
I think Alex is "more right" here. If you are introducing a new $wmgX var you really should always sync-file the changed InitialiseSettings file first and then the CommonSettings that uses it. There's no really good reason to spew a bunch of "undefined X" warnings and there is no guarantee with sync-dir that the files will be sent in the proper order.
That's true, but sometimes (either because multiple changes are made, or things are removed, or whatever) there is no sync order that does not produce errors. This isn't common but I have had it happen. In those cases, you'll now be forced to use sync-dir.