saving mergeCmds