~tom.prince/twisted-trac-integration/kenaan-amptrac

« back to all changes in this revision

Viewing changes to svn-hooks/bzr/incremental-bzr-update.sh

Additional fixes to properly mirror release branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
    then
230
230
        branch_name=${path##${BRANCHES_FOLDER}}
231
231
        if [[ "$branch_name" == ${RELEASE_FOLDER}* ]]
232
 
        then
 
232
        then
233
233
            release_name=${branch_name##${RELEASE_FOLDER}}
234
234
            release_name=${release_name%%/*}
235
235
            branch_name=${RELEASE_FOLDER}$branch_name
239
239
 
240
240
        # Look for changes to root branches (add/delete).
241
241
        if [[ "$path" =~ ${BRANCHES_FOLDER}[^/]+/$
242
 
           || "$path" =~ ${BRANCHES_FOLDER}${RELEASE_FOLDER}[^/]+/$ ]]
 
242
           || "$path" =~ ${BRANCHES_FOLDER}${RELEASE_FOLDER}[^/]+/$ ]]
243
243
        then
244
244
            if [[ "$action" = "A" ]]
245
245
            then