$ hg backout -m 'back out second change' tip reverting myfile changeset backs out changeset $ cat myfile first change