title: How to see changes for a mercurial file context?
body: <p>I'm currently trying to write a script that will find all the files changed given a certain # in the task description, and I have gotten the script to work for that.  But now I'm trying to sort it by whether the file was added, modified or removed.  I've looked through the <a href="http://mercurial.selenic.com/wiki/MercurialApi" rel="nofollow">Mercurial API</a>, but I can't find anything that can do what I want.</p>
  
  <p>My code currently uses <code>repo[revnum].description()</code> and parses that to find which ones contain the <code>#</code>, and if they do, add the file context to a list.
  This works fine and I can print a list of files, but I can't find a method to see what was done with each context.  Can anyone help me out here, or point me to some better documentation?</p>