Base-promoted regiodivergent allylation of N-acylhydrazones with Morita-Baylis-Hillman carbonates by tuning the catalyst.