VirtualBox

Ignore:
Timestamp:
May 12, 2020 8:37:44 AM (5 years ago)
Author:
vboxsync
Message:

tools/bin/backport-*: Added --force switch to force merging/backporting. Use with caution!

File:
1 edited

Legend:

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

    r83680 r84267  
    7373MY_EXTRA_ARGS=
    7474MY_DEBUG=
     75MY_FORCE=
    7576
    7677while test $# -ge 1;
     
    127128        --first-rev|--first|-1)
    128129            MY_FIRST_REV=1
     130            ;;
     131
     132        --force)
     133            MY_FORCE=1
    129134            ;;
    130135
     
    160165            echo "  --first-rev, --first, -1"
    161166            echo "    Merge only: Check that the branch does not have any pending changes."
     167            echo "  --force"
     168            echo "    Forces backporting, regardless of ancestry. Use with caution!"
    162169            echo "  --update-first, --update, -u"
    163170            echo "    Merge only: Update the branch before merging."
     
    213220    exit 2;
    214221fi
    215 
Note: See TracChangeset for help on using the changeset viewer.

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