Added support for passing memento to new
merge in remote chnages