-----------------------------------------------------------------
Revision: 1160e9ae6c3345586936b042788e0dd7a25ad3d9
Ancestor: e3bd957f125a9e39c98232575b03209659488a26
Author: [email protected]
Date: 07/14/10 00:25:03
Branch: net.venge.monotone.validate-changes

Renamed entries:
        tests/commit_validation_lua_hook to tests/validate_commit_message_hook
Added files:
        tests/validate_changes_hook/__driver__.lua
        tests/validate_changes_hook/commit_validate.lua
        tests/validate_changes_hook/errmsg
Added directories:
        tests/validate_changes_hook
Modified files:
        cmd_ws_commit.cc lua_hooks.cc lua_hooks.hh monotone.texi

ChangeLog: 

* lua_hooks.{hh,cc}: new pre-commit hook "hook_validate_changes", 
  similar to "hook_validate_commit_message", just that it only takes
  the revision data and branch name
* cmd_ws_commit.cc (CMD(commit)): ...call it before, well, we do any
  changelog mangling
* monotone.texi: document the hook
* tests/validate_changes_hook: a simple test which shows a real-world
  use case how to prevent commits with files containing CRLFs
* rename tests/commit_validation_lua_hook to
  tests/validate_commit_message_hook which fits better


monotone --db={your.database} diff 
--revision=e3bd957f125a9e39c98232575b03209659488a26 
--revision=1160e9ae6c3345586936b042788e0dd7a25ad3d9
----------------------------------------------------------------------

_______________________________________________
Monotone-commits-nodiffs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-commits-nodiffs

Reply via email to