# # # patch "tests/checkout_creates__MTN_log/commit_log.lua" # from [236defb0b8d095aaa929e49092f6905c04eab8cb] # to [e1b07045d69de57d75e5b73df41124c2c94b315d] # # patch "tests/clone_creates__MTN_log/commit_log.lua" # from [df76ff8540ff6fac3a5801ccbbfef3c6fbd4cc6a] # to [e1b07045d69de57d75e5b73df41124c2c94b315d] # # patch "tests/commit_writes_message_back_to__MTN_log/__driver__.lua" # from [97b6bfdfbcd0698ac967b645b3883fc65d09f0f0] # to [7bee4d10f6e1cd255e8a6501ad8d93d5efa1a48b] # ============================================================ --- tests/checkout_creates__MTN_log/commit_log.lua 236defb0b8d095aaa929e49092f6905c04eab8cb +++ tests/checkout_creates__MTN_log/commit_log.lua e1b07045d69de57d75e5b73df41124c2c94b315d @@ -1,3 +1,3 @@ function edit_comment(user_log_file) function edit_comment(user_log_file) - return string.gsub(user_log_file, "\nChangeLog :\n\n\n", "\nChangeLog: \n\nLog Entry\n") + return user_log_file end ============================================================ --- tests/clone_creates__MTN_log/commit_log.lua df76ff8540ff6fac3a5801ccbbfef3c6fbd4cc6a +++ tests/clone_creates__MTN_log/commit_log.lua e1b07045d69de57d75e5b73df41124c2c94b315d @@ -1,3 +1,3 @@ function edit_comment(user_log_file) function edit_comment(user_log_file) - return string.gsub(user_log_file, "\nChangeLog: \n\n\n", "\nChangeLog: \n\nLog Entry\n") + return user_log_file end ============================================================ --- tests/commit_writes_message_back_to__MTN_log/__driver__.lua 97b6bfdfbcd0698ac967b645b3883fc65d09f0f0 +++ tests/commit_writes_message_back_to__MTN_log/__driver__.lua 7bee4d10f6e1cd255e8a6501ad8d93d5efa1a48b @@ -6,7 +6,7 @@ addfile("testfile", "blah blah") -- when a public key is first accessed it is automatically added to the database -- but since this test removes write permission from the database this fails and --- aborts the commit before the edit_comment hooks gets to run. running status +-- aborts the commit before the edit_comment hook gets to run. running status -- while the database is still writeable adds the key so that its available for -- commit allowing the edit_comment hook to succeed. check(mtn("status"), 0, false, false)