transaction: quietly rollback if no other changes than temporary files
If no actual change have been made, we don't really need to roll them back. We
only have to cleanup some temporary files and it seems reasonable to do that
quietly.
This will help us to use the transaction in wider context¹ without impacting the
user experience.
[1] as in Python context managers that lives longer.
$ cat >> $HGRCPATH << EOF
> [extensions]
> fastannotate=
> EOF
$ hg init repo
$ cd repo
changes to whitespaces
$ cat >> a << EOF
> 1
>
>
> 2
> EOF
$ hg commit -qAm '1'
$ cat > a << EOF
> 1
>
> 2
>
>
> 3
> EOF
$ hg commit -m 2
$ hg fastannotate -wB a
0: 1
0:
1: 2
0:
1:
1: 3