The log property was removed from the message definition of merge
messages, but the foundry/msg/merge module provides means to set and
get the value of this property.
This commit removes the log argument from foundry_msg_merge_new() and
the foundry_msg_merge_get_log() method, so that the log property
cannot be accessed anymore.
local srcbranch="$3"
local dstbranch="$4"
local status="$5"
- local log="$6"
local json
local msg
"repository" "$repository" \
"srcbranch" "$srcbranch" \
"dstbranch" "$dstbranch" \
- "status" "$status" \
- "log" "$log"); then
+ "status" "$status"); then
return 1
fi
echo "$status"
return 0
}
-
-foundry_msg_merge_get_log() {
- local msg="$1"
-
- local log
-
- if ! log=$(foundry_msg_get_data_field "$msg" "log"); then
- return 1
- fi
-
- echo "$log"
- return 0
-}