File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,13 +104,15 @@ cat_file()
104104 (cd " $kv_repo " && git cat-file " $@ " ) || exit 1
105105}
106106
107- present=$( cat_file -t " $remote_name /$remote_branch :devel/" 2> /dev/null)
107+ # Determine if this is merge format (main branch exists).
108+ present=$( cat_file -t " $remote_name /main" 2> /dev/null)
108109if [ " $present " ]; then
109- git_base_devel=" $remote_name /$remote_branch :devel/"
110- else
110+ git_base=" $remote_name /$remote_branch :$sru_cycle /"
111111 git_base_devel=" $remote_name /$remote_branch :tip/"
112+ else
113+ git_base=" $remote_name /$sru_cycle :"
114+ git_base_devel=" $remote_name /master:"
112115fi
113- git_base=" $remote_name /$remote_branch :$sru_cycle /"
114116git_human=" $remote_name /$sru_cycle "
115117
116118# Determine if we have this cycle.
153155# mainline - backwards compatibility
154156for versions_path_tail in \
155157 " $our_series :$our_source :$our_type " \
156- " $our_series :$our_mainline :$our_type " \
157158 " $our_series :$our_type " \
158159 " $our_mainline :$our_type " \
159160 " $our_series " \
You can’t perform that action at this time.
0 commit comments