Just so everyone is clear (if you didn't read my commit message), I
renamed the style hook function from check_whitespace to check_style.
I also made the style hook work with pre-qrefresh.  This means that
you'll have to edit your .hgrc.  You should make the hooks part look
like this:

 [hooks]
pretxncommit.style = python:style.check_style
pre-qrefresh.style = python:style.check_style

The pre-qrefresh makes it so a style check is done before a qrefresh.
(before, if you were using mq, it was only on a qpush.)  This makes it
harder to miss the check.

I also made it so that bugs in the style hook shouldn't trash your repository :)

Sorry for any confusion.

  Nate
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to