added function for mark buffer as resolved to merge in mercurial.el