title: How to include files only of certain type into hg diff output
body: <p>I have hg repo on Windows PC with some changesets. Say between changesets 100 and 101 changes introduced into few .cpp .h and .sql files in multiple subdirectories. Is there a way to produce diff (using plain hg diff) which included only .cpp and *.h files? 
  I was trying following:</p>
  
  <p>1) This one produced me full diff including .sql files:</p>
  
  <p>hg diff -r 100 -r 101 -X *.sql </p>
  
  <p>2) This one produced me empty diff:</p>
  
  <p>hg diff -r 100 -r 101 *.cpp *.h </p>
  
  <p>Any ideas? </p>
  
  <p>UPD: Was reading this
  <a href="http://hgbook.red-bean.com/read/file-names-and-pattern-matching.html" rel="nofollow">http://hgbook.red-bean.com/read/file-names-and-pattern-matching.html</a>
  Did not help.</p>