Mercurial > hgbook
diff en/examples/run-example @ 141:627effec9d4e
More attempts to tidy up regexps for ignoring.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 06 Mar 2007 21:36:14 -0800 |
parents | d374685eb7fa |
children | d9f332f85673 |
line wrap: on
line diff
--- a/en/examples/run-example Tue Mar 06 21:35:51 2007 -0800 +++ b/en/examples/run-example Tue Mar 06 21:36:14 2007 -0800 @@ -179,12 +179,12 @@ ignore = [ r'\d+:[0-9a-f]{12}', # changeset number:hash + r'[0-9a-f]{40}', # long changeset hash + r'[0-9a-f]{12}', # short changeset hash r'^(?:---|\+\+\+) .*', # diff header with dates r'^date:.*', # date - r'^diff -r.*', # "diff -r" is followed by hash + #r'^diff -r.*', # "diff -r" is followed by hash r'^# Date \d+ \d+', # hg patch header - r'^# Node ID [0-9a-f]{40}', # hg patch header - r'^# Parent [0-9a-f]{40}', # hg patch header ] err = False