• machenbach's avatar
    Make automated branch creation gnumbd-save. · 934dd88d
    machenbach authored
    This makes now the same simplification as the chromium
    release scripts do. For creating branch B from a gnumbd'ed
    (aka real) commit X do:
    1. Branch Y off the real X
    2. Set refs/pending/heads/B to Y
    3. Set refs/pending-tags/B to X
    4. Set refs/heads/B to X
    
    The old algorithm tried to branch off the pending
    correspondent of X. That commit was determined by comparing
    tree objects of the real X and commits on pending.
    Unfortunately, multiple commits on one branch can refer to
    the same tree object, e.g., for commits P, Q, R with R being
    the revert of Q, P and R refer to the same tree object.
    
    TBR=tandrii@chromium.org
    NOTRY=true
    TEST=./script_test.py
    TEST=tools/release/create_release.py -a me -r you --dry-run
    
    Review URL: https://codereview.chromium.org/979243004
    
    Cr-Commit-Position: refs/heads/master@{#27042}
    934dd88d
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...