File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -108,14 +108,28 @@ branch=$1
108108rev=$2
109109fix=$3
110110
111+ note " Identify the branch:"
112+ if svn info http://svn.tools.ietf.org/svn/tools/ietfdb/personal/$branch > /dev/null 2>&1 ; then
113+ branch=" personal/$branch "
114+ elif svn info http://svn.tools.ietf.org/svn/tools/ietfdb/branch/$branch > /dev/null 2>&1 ; then
115+ branch=" branch/$branch "
116+ elif svn info http://svn.tools.ietf.org/svn/tools/ietfdb/$branch > /dev/null 2>&1 ; then
117+ true
118+ else
119+ die " Could not find a branch matching '$branch '"
120+ fi
121+ note " Merging from $branch @$rev "
122+
111123note " Extract who and what:"
112124info=$( svn log http://svn.tools.ietf.org/svn/tools/ietfdb/ -r $rev --incremental)
113125set $( echo " $info " | tail -n +2 | head -n 1 | tr " |" " \t" )
114126who=$2 ; echo -e " \n$who "
115127comment=$( echo " $info " | tail -n +3) ; echo -e " $comment \n"
116128
129+
130+
117131note " Do the merge:"
118- svn merge -c $rev http://svn.tools.ietf.org/svn/tools/ietfdb/personal/ $branch .
132+ svn merge -c $rev http://svn.tools.ietf.org/svn/tools/ietfdb/$branch .
119133
120134mail -s " Merged datatracker branch personal/$branch @$rev to trunk" $who -c henrik@levkowetz.com << -EOF
121135Hi,
You can’t perform that action at this time.
0 commit comments