614
669
def test_commit_hook_template(self):
615
670
# Test that commit template hooks work
619
671
if sys.platform == "win32":
621
673
f.write('@rem dummy fed')
631
682
msgeditor.hooks.install_named_hook("commit_message_template",
632
683
lambda commit_obj, msg: "save me some typing\n", None)
633
684
tree = self.make_branch_and_tree('tree')