monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 1160e9ae6c3345586936b042788e0dd7a25ad3


From: monotone
Subject: [Monotone-commits-diffs] Revision 1160e9ae6c3345586936b042788e0dd7a25ad3d9
Date: Wed, 14 Jul 2010 00:28:02 +0200

-----------------------------------------------------------------
Revision: 1160e9ae6c3345586936b042788e0dd7a25ad3d9
Ancestor: e3bd957f125a9e39c98232575b03209659488a26
Author: address@hidden
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

Attachment: txt5iwwPLipQe.txt
Description: Diff [e3bd957f125a9e39c98232575b03209659488a26] -> [1160e9ae6c3345586936b042788e0dd7a25ad3d9]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]