VirtualBox

Ignore:
Timestamp:
Apr 11, 2020 6:44:19 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137172
Message:

tools/bin/backport-*: Adding a --update-first option to update the branch before merging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/backport-common.sh

    r83679 r83680  
    129129            ;;
    130130
     131        --update-first|--update|-u)
     132            MY_UPDATE_FIRST=1
     133            ;;
     134
    131135        --extra)
    132136            if test $# -eq 0; then
     
    144148        # usage
    145149        --h*|-h*|-?|--?)
    146             echo "usage: $0 [--trunk-dir <dir>] [--branch <ver>] [--branch-dir <dir>] [--extra <svn-arg>] [--first-rev] rev1 [rev2..[revN]]]"
     150            echo "usage: $0 [--trunk-dir <dir>] [--branch <ver>] [--branch-dir <dir>] [--extra <svn-arg>] \\"
     151            echo "                   [--first-rev] [--update-first] rev1 [rev2..[revN]]]"
    147152            echo ""
    148153            echo "Options:"
     
    155160            echo "  --first-rev, --first, -1"
    156161            echo "    Merge only: Check that the branch does not have any pending changes."
     162            echo "  --update-first, --update, -u"
     163            echo "    Merge only: Update the branch before merging."
    157164            echo "  --extra <svn-arg>"
    158165            echo "    Additional arguments to specify to SVN."
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette