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.
#!/bin/shmkdir tcd thg initecho a > ahg add ahg commit -m test -d "1000000 0"hg historyhg manifesthg cat ahg verify