669
617
def test_commit_hook_template(self):
670
618
# Test that commit template hooks work
671
622
if sys.platform == "win32":
673
624
f.write('@rem dummy fed')
682
634
msgeditor.hooks.install_named_hook("commit_message_template",
683
635
lambda commit_obj, msg: "save me some typing\n", None)
684
636
tree = self.make_branch_and_tree('tree')