Hi,

I just pushed [1] an improved version of the hook for running JSLint
check when JavaScript file is modified in a changeset.

The previous version was run on precommit event, and checked all
modified JavaScript files in the repository, even some of those
modifications where not part of the changeset. This situation annoyed
some developers:

"I have unfinished JavaScript changes, but I'm committing a Java
file... Why this hook is checking files that are not part of the
commit!!?"

The solution for this situation is this new version of the script.
Only checks JavaScript files that are in the changeset.

* IMPORTANT: This hook must be configured on pretxncommit, instead of
precommit. You need to modify your .hg/hgrc and change the hook event.

[1] https://code.openbravo.com/erp/devel/pi/rev/ed0b8ba5a684


Best Regards,

-- 
Iván Perdomo

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to