# # # patch "NEWS" # from [39ccea1dbe42ec528279fe9bc29507ab288f9480] # to [e78e6867bbab6a68bf241b88462e9b0ab6631aea] # # patch "lua_hooks.cc" # from [6db24bd9d204496a7bd2211151ccfba892046457] # to [1d8560c04b44d310b86db560eb95c4bca11a2494] # ============================================================ --- NEWS 39ccea1dbe42ec528279fe9bc29507ab288f9480 +++ NEWS e78e6867bbab6a68bf241b88462e9b0ab6631aea @@ -37,6 +37,9 @@ - mtn would produce a warning if executed from the root directory of a Windows drive; this has been fixed. + - the 'note_commit' hook now returns the new revision id + hexencoded again - the bug was introduced in 0.40 + New features - New 'get_default_command_options' lua hook which lets you ============================================================ --- lua_hooks.cc 6db24bd9d204496a7bd2211151ccfba892046457 +++ lua_hooks.cc 1d8560c04b44d310b86db560eb95c4bca11a2494 @@ -885,7 +885,7 @@ lua_hooks::hook_note_commit(revision_id Lua ll(st); ll .func("note_commit") - .push_str(new_id.inner()()) + .push_str(encode_hexenc(new_id.inner()())) .push_str(rdat.inner()()); ll.push_table();