It would be cool if "dnf copr enable" is recorded in dnf history and could be later reverted by call to "dnf history undo last". $ rpm -q dnf-plugins-core dnf-plugins-core-0.1.1-3.fc20.noarch
Hi, this shouldn't belong to dnf history. There are stored package transactions not dnf actions you have executed. Otherwise history output would be chaotic.
dnf history records results of stateful changes done by dnf IMO. This is another stateful action, not just arbitrary action.
History records are package oriented stateful changes done by dnf. We don't store `--setopt` cmdline action neither.
neither DNF nor Yum does track the history of repository settings on your machine