# # # patch "contrib/monotone-notify-hookversion.lua" # from [b8c7e1da5e923ec3ac7871738d281b406380b5f6] # to [8c80ab093597940f427baf1e3c08d1274f9b84c4] # ============================================================ --- contrib/monotone-notify-hookversion.lua b8c7e1da5e923ec3ac7871738d281b406380b5f6 +++ contrib/monotone-notify-hookversion.lua 8c80ab093597940f427baf1e3c08d1274f9b84c4 @@ -104,7 +104,7 @@ _MN_templates = { }, do_revision = { - "mtn address@hidden@ log --last 1 --diffs --revision @revision@ > @workdir@/@address@hidden", + "mtn address@hidden@ log --last 1 --diffs --from @revision@ > @workdir@/@address@hidden", "cat @workdir@/@address@hidden | sed -e '/^============================================================$/,$d' > @workdir@/@address@hidden", "cat @workdir@/@address@hidden | sed -e '/^============================================================$/,$p;d' > @workdir@/@address@hidden", "rm -f @workdir@/@address@hidden", @@ -112,7 +112,7 @@ _MN_templates = { " cat @workdir@/@address@hidden", " echo", " echo 'To get the patch for this revision, please do this:'", - " echo 'mtn log --last 1 --diffs --revision @revision@'", + " echo 'mtn log --last 1 --diffs --from @revision@'", ") > @workdir@/@address@hidden", "if [ `grep '^Ancestor: ' @workdir@/@address@hidden | wc -l` = '1' ]; then show_diffs=true; fi", },