grep: display correct user/revision for --all in reverse.
Also handle multiple occurrences of the same line by storing
linestates in an array instead of a dict, and using difflib
to compute the difference between linestates.
321
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
sub/b not present
sub not present