added revert like svn has