This patch adds a new function named showchanges() which will output the changes
like hashchanges, wdir change, movement of bookmarks etc. after a command. This
will be very helpful in automation and will be a good addition to the UI behind
a config. Currently it supports only hash changes for the moment.
The hash changes are form of: {predecessor: [successors], ...}
The successors is a list as there can be multiple successors of a predecessor in
case of split command which is available in evolve and fb-hgext.
Thanks to Denis Laxalde for suggesting the pythonic way to get nodesdict.
Indentation still weird (though no longer wrong).
Could you align continuation lines with the opening delimiter ({ for nodedict and ( for fm.write)?