aboutsummaryrefslogtreecommitdiffstats
path: root/tools/scc-cmds/merge.cmd
blob: 750e3f8e6165027f3b9140782be52d2c2d77694c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# used in feature scripts
#    arg1: the branch name
merge()
{
    local text
    local mbranch_name=$1

    text="merge: ${mbranch_name}"

    # output to the global and branch specific queue
    eval echo "${mbranch_name}" >> "${mergequeue}"
    if [ -n "${branch_merge_queue}" ]; then
        eval echo "${mbranch_name}" >> "${branch_merge_queue}"
    fi

    # outfile_append is the meta-series
    eval echo "\$text" $outfile_append
}